Part Number Hot Search : 
2N1136A 473ML EC3B02 4HC595 CS200 74LS4 FP5150 6100CT
Product Description
Full Text Search
 

To Download R5F21388WJFP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Preliminary DATASHEET
Specifications in this document are tentative and subject to change. R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
RENESAS MCU
1.
1.1
Overview
Features
The R8C/38W Group, R8C/38X Group, R8C/38Y Group, and R8C/38Z Group of single-chip MCUs incorporate the R8C CPU core, employing sophisticated instructions for a high level of efficiency. With 1 Mbyte of address space, and it is capable of executing instructions at high speed. In addition, the CPU core boasts a multiplier for high-speed operation processing. Power consumption is low, and the supported operating modes allow additional power control. These MCUs are designed to maximize EMI/EMS performance. Integration of many peripheral functions, including multifunction timer and serial interface, reduces the number of system components. The R8C/38W Group and R8C/38X Group have a single channel CAN module and are suitable for LAN systems in vehicles and for FA. The R8C/38Y Group and R8C/38Z Group do not have CAN modules. The R8C/38W Group and R8C/38Y Group have data flash (1 KB x 4 blocks) with the background operation (BGO) function.
1.1.1
Applications
Automobiles and others
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 1 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
1.1.2
Specifications
Tables 1.1 and 1.2 outline the Specifications for R8C/38W Group, tables 1.3 and 1.4 outline the Specifications for R8C/38X Group, tables 1.5 and 1.6 outline the Specifications for R8C/38Y Group, and tables 1.7 and 1.8 outline the Specifications for R8C/38Z Group. Table 1.1
Item CPU
Specifications for R8C/38W Group (1)
Function Central processing unit Specification R8C CPU core * Number of fundamental instructions: 89 * Minimum instruction execution time: 50 ns (f(XIN) = 20 MHz, VCC = 2.7 to 5.5 V) * Multiplier: 16 bits x 16 bits 32 bits * Multiply-accumulate instruction: 16 bits x 16 bits + 32 bits 32 bits * Operating mode: Single-chip mode (address space: 1 Mbyte) Refer to Table 1.9 Product List for R8C/38W Group. * Power-on reset * Voltage detection 3 (detection level of voltage detection 1 selectable) * Input-only: 1 pin * CMOS I/O ports: 75, selectable pull-up resistor 3 circuits: XIN clock oscillation circuit (with on-chip feedback resistor), High-speed on-chip oscillator (with frequency adjustment function), Low-speed on-chip oscillator * Oscillation stop detection: XIN clock oscillation stop detection function * Frequency divider circuit: Dividing selectable 1, 2, 4, 8, and 16 * Low power consumption modes: Standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillator), wait mode, stop mode * Interrupt vectors: 69 * External: 9 sources (INT x 5, key input x 4) * Priority levels: 7 levels * 14 bits x 1 (with prescaler) * Reset start selectable * Low-speed on-chip oscillator for watchdog timer selectable * 1 channel * Activation sources: 40 * Transfer modes: 2 (normal mode, repeat mode)
Memory
ROM, RAM, Data flash Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits
Interrupts
Watchdog Timer
DTC (Data Transfer Controller)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 2 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.2
Item Timer
Specifications for R8C/38W Group (2)
Function Timer RA0 Specification 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), programmable waveform generation mode (PWM output), programmable one-shot generation mode, programmable wait oneshot generation mode 16 bits (with 4 capture/compare registers) x 1 Timer mode (input capture function, output compare function), PWM mode (output 3 pins), PWM2 mode (PWM output pin) 16 bits (with 4 capture/compare registers) x 2 Timer mode (input capture function, output compare function), PWM mode (output 6 pins), reset synchronous PWM mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary PWM mode (output three-phase waveforms (6 pins), triangular wave modulation), PWM3 mode (PWM output 2 pins with fixed period) 8 bits x 1 Output compare mode 16 bits x 1 Input capture mode (input capture circuit), output compare mode (output compare circuit) 16 bits x 1 Timer mode (input capture function, output compare function), PWM mode (output 1 pin), phase counting mode (available automatic measurement for the counts of 2-phase encoder) 2 channels Clock synchronous serial I/O, UART 1 channel Clock synchronous serial I/O, UART, I2C mode (I2C-bus), IE mode (IEbus), multiprocessor communication function 1 channel Hardware LIN: 2 (timer RA0, timer RA1, UART0, UART1) 1 channel, 16 Mailboxes (conforms to the ISO 11898-1) 10-bit resolution x 20 channels, includes sample and hold function, with sweep mode * Programming and erasure voltage: VCC = 2.7 to 5.5 V * Programming and erasure endurance: 10,000 times (data flash) 1,000 times (program ROM) * Program security: ROM code protect, ID code check * Debug functions: On-chip debug, on-board flash rewrite function * Background operation (BGO) function (data flash) f(XIN) = 20 MHz (VCC = 2.7 to 5.5 V) Typ. 7 mA (VCC = 5.0 V, f(XIN) = 20 MHz) -40 to 85C (J version) -40 to 125C (K version) (1) 80-pin LQFP Package code: PLQP0080KB-A (previous code: 80P6Q-A)
Timer RA1
Timer RB
Timer RC
Timer RD
Timer RE Timer RF Timer RG
Serial Interface
UART0, 1 UART2
Synchronous Serial Communication Unit (SSU) LIN Module CAN Module A/D Converter Flash Memory
Operating Frequency/Supply Voltage Current Consumption Operating Ambient Temperature Package
Note: 1. Specify the K version if K version functions are to be used.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 3 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.3
Item CPU
Specifications for R8C/38X Group (1)
Function Central processing unit Specification R8C CPU core * Number of fundamental instructions: 89 * Minimum instruction execution time: 50 ns (f(XIN) = 20 MHz, VCC = 2.7 to 5.5 V) * Multiplier: 16 bits x 16 bits 32 bits * Multiply-accumulate instruction: 16 bits x 16 bits + 32 bits 32 bits * Operating mode: Single-chip mode (address space: 1 Mbyte) Refer to Table 1.10 Product List for R8C/38X Group. * Power-on reset * Voltage detection 3 (detection level of voltage detection 1 selectable) * Input-only: 1 pin * CMOS I/O ports: 75, selectable pull-up resistor 3 circuits: XIN clock oscillation circuit (with on-chip feedback resistor), High-speed on-chip oscillator (with frequency adjustment function), Low-speed on-chip oscillator * Oscillation stop detection: XIN clock oscillation stop detection function * Frequency divider circuit: Dividing selectable 1, 2, 4, 8, and 16 * Low power consumption modes: Standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillator), wait mode, stop mode * Interrupt vectors: 69 * External: 9 sources (INT x 5, key input x 4) * Priority levels: 7 levels * 14 bits x 1 (with prescaler) * Reset start selectable * Low-speed on-chip oscillator for watchdog timer selectable * 1 channel * Activation sources: 40 * Transfer modes: 2 (normal mode, repeat mode)
Memory
ROM, RAM, Data flash Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits
Interrupts
Watchdog Timer
DTC (Data Transfer Controller)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 4 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.4
Item Timer
Specifications for R8C/38X Group (2)
Function Timer RA0 Specification 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), programmable waveform generation mode (PWM output), programmable one-shot generation mode, programmable wait oneshot generation mode 16 bits (with 4 capture/compare registers) x 1 Timer mode (input capture function, output compare function), PWM mode (output 3 pins), PWM2 mode (PWM output pin) 16 bits (with 4 capture/compare registers) x 2 Timer mode (input capture function, output compare function), PWM mode (output 6 pins), reset synchronous PWM mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary PWM mode (output three-phase waveforms (6 pins), triangular wave modulation), PWM3 mode (PWM output 2 pins with fixed period) 8 bits x 1 Output compare mode 16 bits x 1 Input capture mode (input capture circuit), output compare mode (output compare circuit) 16 bits x 1 Timer mode (input capture function, output compare function), PWM mode (output 1 pin), phase counting mode (available automatic measurement for the counts of 2-phase encoder) 2 channels Clock synchronous serial I/O, UART 1 channel Clock synchronous serial I/O, UART, I2C mode (I2C-bus), IE mode (IEbus), multiprocessor communication function 1 channel Hardware LIN: 2 (timer RA0, timer RA1, UART0, UART1) 1 channel, 16 Mailboxes (conforms to the ISO 11898-1) 10-bit resolution x 20 channels, includes sample and hold function, with sweep mode * Programming and erasure voltage: VCC = 2.7 to 5.5 V * Programming and erasure endurance: 100 times (program ROM) * Program security: ROM code protect, ID code check * Debug functions: On-chip debug, on-board flash rewrite function f(XIN) = 20 MHz (VCC = 2.7 to 5.5 V) Typ. 7 mA (VCC = 5.0 V, f(XIN) = 20 MHz) -40 to 85C (J version) -40 to 125C (K version) (1) 80-pin LQFP Package code: PLQP0080KB-A (previous code: 80P6Q-A)
Timer RA1
Timer RB
Timer RC
Timer RD
Timer RE Timer RF Timer RG
Serial Interface
UART0, 1 UART2
Synchronous Serial Communication Unit (SSU) LIN Module CAN Module A/D Converter Flash Memory
Operating Frequency/Supply Voltage Current Consumption Operating Ambient Temperature Package
Note: 1. Specify the K version if K version functions are to be used.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 5 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.5
Item CPU
Specifications for R8C/38Y Group (1)
Function Central processing unit Specification R8C CPU core * Number of fundamental instructions: 89 * Minimum instruction execution time: 50 ns (f(XIN) = 20 MHz, VCC = 2.7 to 5.5 V) * Multiplier: 16 bits x 16 bits 32 bits * Multiply-accumulate instruction: 16 bits x 16 bits + 32 bits 32 bits * Operating mode: Single-chip mode (address space: 1 Mbyte) Refer to Table 1.11 Product List for R8C/38Y Group. * Power-on reset * Voltage detection 3 (detection level of voltage detection 1 selectable) * Input-only: 1 pin * CMOS I/O ports: 75, selectable pull-up resistor 3 circuits: XIN clock oscillation circuit (with on-chip feedback resistor), High-speed on-chip oscillator (with frequency adjustment function), Low-speed on-chip oscillator * Oscillation stop detection: XIN clock oscillation stop detection function * Frequency divider circuit: Dividing selectable 1, 2, 4, 8, and 16 * Low power consumption modes: Standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillator), wait mode, stop mode * Interrupt vectors: 69 * External: 9 sources (INT x 5, key input x 4) * Priority levels: 7 levels * 14 bits x 1 (with prescaler) * Reset start selectable * Low-speed on-chip oscillator for watchdog timer selectable * 1 channel * Activation sources: 40 * Transfer modes: 2 (normal mode, repeat mode)
Memory
ROM, RAM, Data flash Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits
Interrupts
Watchdog Timer
DTC (Data Transfer Controller)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 6 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.6
Item Timer
Specifications for R8C/38Y Group (2)
Function Timer RA0 Specification 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), programmable waveform generation mode (PWM output), programmable one-shot generation mode, programmable wait oneshot generation mode 16 bits (with 4 capture/compare registers) x 1 Timer mode (input capture function, output compare function), PWM mode (output 3 pins), PWM2 mode (PWM output pin) 16 bits (with 4 capture/compare registers) x 2 Timer mode (input capture function, output compare function), PWM mode (output 6 pins), reset synchronous PWM mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary PWM mode (output three-phase waveforms (6 pins), triangular wave modulation), PWM3 mode (PWM output 2 pins with fixed period) 8 bits x 1 Output compare mode 16 bits x 1 Input capture mode (input capture circuit), output compare mode (output compare circuit) 16 bits x 1 Timer mode (input capture function, output compare function), PWM mode (output 1 pin), phase counting mode (available automatic measurement for the counts of 2-phase encoder) 2 channels Clock synchronous serial I/O, UART 1 channel Clock synchronous serial I/O, UART, I2C mode (I2C-bus), IE mode (IEbus), multiprocessor communication function 1 channel Hardware LIN: 2 (timer RA0, timer RA1, UART0, UART1) 10-bit resolution x 20 channels, includes sample and hold function, with sweep mode * Programming and erasure voltage: VCC = 2.7 to 5.5 V * Programming and erasure endurance: 10,000 times (data flash) 1,000 times (program ROM) * Program security: ROM code protect, ID code check * Debug functions: On-chip debug, on-board flash rewrite function * Background operation (BGO) function (data flash) f(XIN) = 20 MHz (VCC = 2.7 to 5.5 V) Typ. 7 mA (VCC = 5.0 V, f(XIN) = 20 MHz) -40 to 85C (J version) -40 to 125C (K version) (1) 80-pin LQFP Package code: PLQP0080KB-A (previous code: 80P6Q-A)
Timer RA1
Timer RB
Timer RC
Timer RD
Timer RE Timer RF Timer RG
Serial Interface
UART0, 1 UART2
Synchronous Serial Communication Unit (SSU) LIN Module A/D Converter Flash Memory
Operating Frequency/Supply Voltage Current Consumption Operating Ambient Temperature Package
Note: 1. Specify the K version if K version functions are to be used.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 7 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.7
Item CPU
Specifications for R8C/38Z Group (1)
Function Central processing unit Specification R8C CPU core * Number of fundamental instructions: 89 * Minimum instruction execution time: 50 ns (f(XIN) = 20 MHz, VCC = 2.7 to 5.5 V) * Multiplier: 16 bits x 16 bits 32 bits * Multiply-accumulate instruction: 16 bits x 16 bits + 32 bits 32 bits * Operating mode: Single-chip mode (address space: 1 Mbyte) Refer to Table 1.12 Product List for R8C/38Z Group. * Power-on reset * Voltage detection 3 (detection level of voltage detection 1 selectable) * Input-only: 1 pin * CMOS I/O ports: 75, selectable pull-up resistor 3 circuits: XIN clock oscillation circuit (with on-chip feedback resistor), High-speed on-chip oscillator (with frequency adjustment function), Low-speed on-chip oscillator * Oscillation stop detection: XIN clock oscillation stop detection function * Frequency divider circuit: Dividing selectable 1, 2, 4, 8, and 16 * Low power consumption modes: Standard operating mode (high-speed clock, high-speed on-chip oscillator, low-speed on-chip oscillator), wait mode, stop mode * Interrupt vectors: 69 * External: 9 sources (INT x 5, key input x 4) * Priority levels: 7 levels * 14 bits x 1 (with prescaler) * Reset start selectable * Low-speed on-chip oscillator for watchdog timer selectable * 1 channel * Activation sources: 40 * Transfer modes: 2 (normal mode, repeat mode)
ROM, RAM, Data flash Power Supply Voltage detection Voltage circuit Detection I/O Ports Programmable I/O ports Clock Clock generation circuits
Memory
Interrupts
Watchdog Timer
DTC (Data Transfer Controller)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 8 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.8
Item Timer
Specifications for R8C/38Z Group (2)
Function Timer RA0 Specification 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), pulse output mode (output level inverted every period), event counter mode, pulse width measurement mode, pulse period measurement mode 8 bits (with 8-bit prescaler) x 1 Timer mode (period timer), programmable waveform generation mode (PWM output), programmable one-shot generation mode, programmable wait oneshot generation mode 16 bits (with 4 capture/compare registers) x 1 Timer mode (input capture function, output compare function), PWM mode (output 3 pins), PWM2 mode (PWM output pin) 16 bits (with 4 capture/compare registers) x 2 Timer mode (input capture function, output compare function), PWM mode (output 6 pins), reset synchronous PWM mode (output three-phase waveforms (6 pins), sawtooth wave modulation), complementary PWM mode (output three-phase waveforms (6 pins), triangular wave modulation), PWM3 mode (PWM output 2 pins with fixed period) 8 bits x 1 Output compare mode 16 bits x 1 Input capture mode (input capture circuit), output compare mode (output compare circuit) 16 bits x 1 Timer mode (input capture function, output compare function), PWM mode (output 1 pin), phase counting mode (available automatic measurement for the counts of 2-phase encoder) 2 channels Clock synchronous serial I/O, UART 1 channel Clock synchronous serial I/O, UART, I2C mode (I2C-bus), IE mode (IEbus), multiprocessor communication function 1 channel Hardware LIN: 2 (timer RA0, timer RA1, UART0, UART1) 10-bit resolution x 20 channels, includes sample and hold function, with sweep mode * Programming and erasure voltage: VCC = 2.7 to 5.5 V * Programming and erasure endurance: 100 times (program ROM) * Program security: ROM code protect, ID code check * Debug functions: On-chip debug, on-board flash rewrite function f(XIN) = 20 MHz (VCC = 2.7 to 5.5 V) Typ. 7 mA (VCC = 5.0 V, f(XIN) = 20 MHz) -40 to 85C (J version) -40 to 125C (K version) (1) 80-pin LQFP Package code: PLQP0080KB-A (previous code: 80P6Q-A)
Timer RA1
Timer RB
Timer RC
Timer RD
Timer RE Timer RF Timer RG
Serial Interface
UART0, 1 UART2
Synchronous Serial Communication Unit (SSU) LIN Module A/D Converter Flash Memory
Operating Frequency/Supply Voltage Current Consumption Operating Ambient Temperature Package
Note: 1. Specify the K version if K version functions are to be used.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 9 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
1.2
Product List
Table 1.9 lists Product List for R8C/38W Group, Table 1.10 lists Product List for R8C/38X Group, Table 1.11 lists Product List for R8C/38Y Group, and Table 1.12 lists Product List for R8C/38Z Group. Table 1.9 Product List for R8C/38W Group ROM Capacity Program ROM Data flash 64 Kbytes 1 Kbyte x 4 96 Kbytes 1 Kbyte x 4 128 Kbytes 1 Kbyte x 4 64 Kbytes 1 Kbyte x 4 96 Kbytes 1 Kbyte x 4 128 Kbytes 1 Kbyte x 4 RAM Capacity 6 Kbytes 8 Kbytes 10 Kbytes 6 Kbytes 8 Kbytes 10 Kbytes Current of May 2010 Package Type PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A Remarks J version
Part No. R5F21388WJFP (D) R5F2138AWJFP (D) R5F2138CWJFP (D) R5F21388WKFP (D) R5F2138AWKFP (D) R5F2138CWKFP (D)
K version
(D): Under development
Part No.
R 5 F 21 38 8 W J FP
Package type: FP: PLQP0080KB-A (0.50 mm pin-pitch, 12 mm square body) CAN, Data Flash W: CAN module and Data Flash X : CAN module but no Data Flash Y : Data Flash but no CAN module Z : None Classification J: Operating ambient temperature -40 C to 85 C K: Operating ambient temperature -40 C to 125 C ROM capacity 8: 64 KB A: 96 KB C: 128 KB R8C/38W Group R8C/3x Series Memory type F: Flash memory Renesas MCU Renesas semiconductor
Figure 1.1
Part Number, Memory Size, and Package of R8C/38W Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 10 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.10
Product List for R8C/38X Group ROM Capacity Part No. RAM Capacity Program ROM R5F21388XJFP (D) 64 Kbytes 6 Kbytes R5F2138AXJFP (D) 96 Kbytes 8 Kbytes R5F2138CXJFP (D) 128 Kbytes 10 Kbytes R5F21388XKFP (D) 64 Kbytes 6 Kbytes R5F2138AXKFP (D) 96 Kbytes 8 Kbytes R5F2138CXKFP (D) 128 Kbytes 10 Kbytes
Current of May 2010 Package Type PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A Remarks J version
K version
(D): Under development
Part No.
R 5 F 21 38 8 X J FP
Package type: FP: PLQP0080KB-A (0.50 mm pin-pitch, 12 mm square body) CAN, Data Flash W: CAN module and Data Flash X : CAN module but no Data Flash Y : Data Flash but no CAN module Z : None Classification J: Operating ambient temperature -40 C to 85 C K: Operating ambient temperature -40 C to 125 C ROM capacity 8: 64 KB A: 96 KB C: 128 KB R8C/38X Group R8C/3x Series Memory type F: Flash memory Renesas MCU Renesas semiconductor
Figure 1.2
Part Number, Memory Size, and Package of R8C/38X Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 11 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.11
Product List for R8C/38Y Group ROM Capacity Part No. Program ROM Data flash R5F21388YJFP (D) 64 Kbytes 1 Kbyte x 4 R5F2138AYJFP (D) 96 Kbytes 1 Kbyte x 4 R5F2138CYJFP (D) 128 Kbytes 1 Kbyte x 4 R5F21388YKFP (D) 64 Kbytes 1 Kbyte x 4 R5F2138AYKFP (D) 96 Kbytes 1 Kbyte x 4 R5F2138CYKFP (D) 128 Kbytes 1 Kbyte x 4
Current of May 2010 RAM Capacity 6 Kbytes 8 Kbytes 10 Kbytes 6 Kbytes 8 Kbytes 10 Kbytes Package Type Remarks
PLQP0080KB-A J version PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A K version PLQP0080KB-A PLQP0080KB-A
(D): Under development
Part No.
R 5 F 21 38 8 Y J FP
Package type: FP: PLQP0080KB-A (0.50 mm pin-pitch, 12 mm square body) CAN, Data Flash W: CAN module and Data Flash X : CAN module but no Data Flash Y : Data Flash but no CAN module Z : None Classification J: Operating ambient temperature -40 C to 85 C K: Operating ambient temperature -40 C to 125 C ROM capacity 8: 64 KB A: 96 KB C: 128 KB R8C/38Y Group R8C/3x Series Memory type F: Flash memory Renesas MCU Renesas semiconductor
Figure 1.3
Part Number, Memory Size, and Package of R8C/38Y Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 12 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.12
Product List for R8C/38Z Group ROM Capacity Part No. RAM Capacity Program ROM R5F21388ZJFP (D) 64 Kbytes 6 Kbytes R5F2138AZJFP (D) 96 Kbytes 8 Kbytes R5F2138CZJFP (D) 128 Kbytes 10 Kbytes R5F21388ZKFP (D) 64 Kbytes 6 Kbytes R5F2138AZKFP (D) 96 Kbytes 8 Kbytes R5F2138CZKFP (D) 128 Kbytes 10 Kbytes
Current of May 2010 Package Type PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A PLQP0080KB-A Remarks J version
K version
(D): Under development
Part No.
R 5 F 21 38 8 Z J FP
Package type: FP: PLQP0080KB-A (0.50 mm pin-pitch, 12 mm square body) CAN, Data Flash W: CAN module and Data Flash X : CAN module but no Data Flash Y : Data Flash but no CAN module Z : None Classification J: Operating ambient temperature -40 C to 85 C K: Operating ambient temperature -40 C to 125 C ROM capacity 8: 64 KB A: 96 KB C: 128 KB R8C/38Z Group R8C/3x Series Memory type F: Flash memory Renesas MCU Renesas semiconductor
Figure 1.4
Part Number, Memory Size, and Package of R8C/38Z Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 13 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
1.3
Block Diagram
Figure 1.5 shows a Block Diagram.
8
8
8
8
5
1
8
I/O ports Peripheral functions
Timers Timer RA0 (8 bits) Timer RA1 (8 bits) Timer RB (8 bits) Timer RC (16 bits) Timer RD (16 bits x 2) Timer RE (8 bits) Timer RF (16 bits) Timer RG (16 bits)
Port P0
Port P1
Port P2
Port P3
Port P4
Port P5
A/D converter (10 bits x 20 channels) UART or clock synchronous serial I/O (8 bits x 3 channels)
System clock generation circuit XIN-XOUT High-speed on-chip oscillator Low-speed on-chip oscillator
SSU (8 bits x 1 channel) DTC
CAN module (3) (1 channel)
LIN module (2 channels)
Watchdog timer (14 bits)
R8C CPU core
R0H R1H R2 R3 A0 A1 FB R0L R1L SB USP ISP INTB PC FLG
Memory
ROM (1) RAM (2)
Multiplier Port P9 Port P8
Port P7
Port P6
6
8
8
8
Notes: 1. ROM size varies with MCU type. 2. RAM size varies with MCU type. 3. Only in the R8C/38W Group and R8C/38X Group.
Figure 1.5
Block Diagram
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 14 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
1.4
Pin Assignment
Figure 1.6 shows Pin Assignment (Top View). Tables 1.13 and 1.14 outline the Pin Name Information by Pin Number.
P1_5/(INT1)(1)/(TRAIO0)(1)/RXD0
P6_7/(INT3)(1)/(RXD2)/(SCL2)(1)
P6_5/INT4/(CLK2)(1)/(CLK1)(1)
P6_6/INT2/(TXD2)/(SDA2)(1)
P1_3/KI3/TRBO/AN11
P1_7/INT1/(TRAIO0)(1)
44
43
42
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
41
P8_3/TRFO10/TRFI
P4_5/INT0/ADTRG
P1_2/KI2/AN10
P8_0/TRFO00
P8_1/TRFO01
P8_2/TRFO02
P1_0/KI0/AN8
P1_1/KI1/AN9
P1_4/TXD0
P7_4/AN16
P7_5/AN17
P7_6/AN18
P7_7/AN19
P1_6/CLK0
P7_3/AN15 P7_2/AN14 P7_1/AN13 P7_0/AN12 P0_7/AN0 P0_6/AN1 P0_5/AN2 P0_4/TREO/AN3 P0_3/(CLK1)(1)/AN4 P0_2/(RXD1)(1)/AN5 P0_1/(TXD1)(1)/AN6 P0_0/AN7 P6_4/(INT2)(1)/TRAIO1/(RXD1)(1) P6_3/(TRAO1)(1)/(TXD1)(1) P6_2/CRX0(2) P6_1/CTX0(2) P6_0/(TREO)(1) P9_5 P9_4 P5_7/TRGIOB
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 17 18 19 10 11 12 13 14 15 16 20 1 2 3 4 5 6 7 8 9
40 39 38 37 36
P8_4/TRFO11 P8_5/TRFO12 P8_6 P8_7 P3_1/(TRBO)(1) P3_6/(INT1)(1) P9_0 P9_1 P9_2 P9_3 P2_0/TRDIOA0/TRDCLK P2_1/TRDIOB0 P2_2/TRDIOC0 P2_3/TRDIOD0 P2_4/TRDIOA1 P2_5/TRDIOB1 P2_6/TRDIOC1 P2_7/TRDIOD1 P3_3/INT3/CTS2/RTS2/SCS/(SSI)(1) P3_4/(TXD2)/(SDA2)/(RXD2)/(SCL2) (1)/(SCS)(1)/SSI
R8C/38W Group R8C/38X Group R8C/38Y Group R8C/38Z Group PLQP0080KB-A (80P6Q-A) (Top view)
35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
P3_7/TRAO0/(TXD2)/(SDA2)/(RXD2)/(SCL2)(1)/SSO
VSS/AVSS
MODE
P3_2/(INT1) /(INT2) /TRGCLKB
P3_0/(TRAO0)(1)/TRGCLKA
P5_1/TRCIOA/TRCTRG
Notes: 1. Can be assigned to the pin in parentheses by a program. 2. Only for the R8C/38W Group and R8C/38X Group. 3. P4_2 is an input-only port. 4. Confirm the pin 1 position on the package by referring to the Package Dimensions.
Figure 1.6
Pin Assignment (Top View)
REJ03B0317-0010 Rev.0.10 May 31, 2010
(1)
P3_5/(CLK2)(1)/SSCK
P5_6/TRGIOA
P5_2/TRCIOB
XOUT/P4_7
XIN/P4_6
P5_5
P4_3
P4_4
P5_0/TRCCLK
P5_4/TRCIOD
P5_3/TRCIOC
VREF/P4_2(3)
(1)
VCC/AVCC
RESET
Page 15 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.13
Pin Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Pin Name Information by Pin Number (1)
I/O Pin Functions for Peripheral Modules Port CAN Module
(2)
Control Pin
Interrupt
Timer TRGIOA
Serial Interface
SSU
A/D Converter, Voltage Detection Circuit
P5_6 P5_5 P3_2 P3_0 P4_2 MODE P4_3 P4_4 RESET XOUT VSS/AVSS XIN VCC/ AVCC P5_4 P5_3 P5_2 P5_1 P5_0 P3_7 P3_5 P3_4 P3_3 P2_7 P2_6 P2_5 P2_4 P2_3 P2_2 P2_1 P2_0 P9_3 P9_2 P9_1 P9_0 P3_6 P3_1 P8_7 P8_6 P8_5 P8_4 (INT1) (1) INT3 P4_6 P4_7 (INT1) (1)/ (INT2) (1)
TRGCLKB (TRAO0) (1)/ TRGCLKA VREF
TRCIOD TRCIOC TRCIOB TRCIOA/ TRCTRG TRCCLK TRAO0 (TXD2)/(SDA2)/ (RXD2)/(SCL2) (1) (CLK2) (1) (TXD2)/(SDA2)/ (RXD2)/(SCL2) (1) CTS2/RTS2 TRDIOD1 TRDIOC1 TRDIOB1 TRDIOA1 TRDIOD0 TRDIOC0 TRDIOB0 TRDIOA0/ TRDCLK SSO SSCK (SCS) (1)/SSI SCS/(SSI) (1)
(TRBO) (1)
TRFO12 TRFO11
Notes: 1. This can be assigned to the pin in parentheses by a program. 2. Only for the R8C/38W Group and R8C/38X Group.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 16 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.14
Pin Number 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
Pin Name Information by Pin Number (2)
I/O Pin Functions for Peripheral Modules Port CAN Module
(2)
Control Pin
Interrupt
Timer TRFO10/TRFI TRFO02 TRFO01 TRFO00
Serial Interface
SSU
A/D Converter, Voltage Detection Circuit
P8_3 P8_2 P8_1 P8_0 P6_7 P6_6 P6_5 P4_5 P1_7 P1_6 P1_5 P1_4 P1_3 P1_2 P1_1 P1_0 P7_7 P7_6 P7_5 P7_4 P7_3 P7_2 P7_1 P7_0 P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 P6_4 P6_3 P6_2 P6_1 P6_0 P9_5 P9_4 P5_7 (INT2) (1) KI3 KI2 KI1 KI0 (INT1) (1) (INT3) (1) INT2 INT4 INT0 INT1
(RXD2)/ (SCL2) (1) (TXD2)/ (SDA2) (1) (CLK2) (1)/ (CLK1) (1) ADTRG (TRAIO0) (1) CLK0 (TRAIO0) (1) TRBO RXD0 TXD0 AN11 AN10 AN9 AN8 AN19 AN18 AN17 AN16 AN15 AN14 AN13 AN12 AN0 AN1 AN2 TREO (CLK1) (1) (RXD1) (1) (TXD1) (1) TRAIO1 (TRAO1) (1) (RXD1) (1) (TXD1) (1) CRX0 (2) CTX0 (2) (TREO) (1) AN3 AN4 AN5 AN6 AN7
TRGIOB
Notes: 1. This can be assigned to the pin in parentheses by a program. 2. Only for the R8C/38W Group and R8C/38X Group.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 17 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
1.5
Pin Functions
Tables 1.15 and 1.16 list Pin Functions. Table 1.15
Item Analog power supply input Reset input MODE XIN clock input XIN clock output INT interrupt input Key input interrupt Timer RA0 Timer RA1 Timer RB Timer RC
Pin Functions (1)
Pin Name AVCC, AVSS RESET MODE XIN XOUT INT0 to INT4 KI0 to KI3 TRAIO0, TRAIO1 TRAO0, TRAO1 TRBO TRCCLK TRCTRG TRCIOA, TRCIOB, TRCIOC, TRCIOD I/O Type - - I I I I/O I I I/O O O I I I/O I/O Description Apply 2.7 V to 5.5 V to the VCC pin. Apply 0 V to the VSS pin. Power supply for the A/D converter. Connect a capacitor between AVCC and AVSS. Input "L" on this pin resets the MCU. Connect this pin to VCC via a resistor. These pins are provided for XIN clock generation circuit I/O. Connect a ceramic resonator or a crystal oscillator between the XIN and XOUT pins (1). To use an external clock, input it to the XOUT pin and leave the XIN pin open. INT interrupt input pins. Key input interrupt input pins Timer RA I/O pin Timer RA output pin Timer RB output pin External clock input pin External trigger input pin Timer RC I/O pins Timer RD I/O pins
Power supply input VCC, VSS
Timer RD
TRDIOA0, TRDIOA1, TRDIOB0, TRDIOB1, TRDIOC0, TRDIOC1, TRDIOD0, TRDIOD1 TRDCLK TREO TRFO00, TRFO10, TRFO01, TRFO11, TRFO02, TRFO12 TRFI TRGIOA, TRGIOB TRGCLKA, TRGCLKB CLK0, CLK1, CLK2 RXD0, RXD1, RXD2 TXD0, TXD1, TXD2 CTS2 RTS2 SCL2 SDA2
I O O
External clock input pin Divided clock output pin Timer RF output pins.
Timer RE Timer RF
I I/O I I/O I O I O I/O I/O I/O I/O I/O I/O
Timer RF input pin. Timer RG I/O ports. External clock input pins. Transfer clock I/O pins Serial data input pins Serial data output pins Transmission control input pin Reception control output pin I2C mode clock I/O pin I2C mode data I/O pin Data I/O pin Chip-select signal I/O pin Clock I/O pin Data I/O pin
Timer RG Serial interface
SSU
SSI SCS SSCK SSO
I: Input O: Output I/O: Input and output Note: 1. Refer to the oscillator manufacturer for oscillation characteristics.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 18 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 1. Overview
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 1.16
Item CAN module
Pin Functions (2)
Pin Name CRX0 (1) CTX0 (1) VREF AN0 to AN19 ADTRG P0_0 to P0_7, P1_0 to P1_7, P2_0 to P2_7, P3_0 to P3_7, P4_3 to P4_7, P5_0 to P5_7, P6_0 to P6_7, P7_0 to P7_7 P8_0 to P8_7 P9_0 to P9_5 P4_2 I/O Type I O I I I I/O CAN data input pin CAN data output pin Reference voltage input pin to A/D converter Analog input pins to A/D converter AD external trigger input pin CMOS I/O ports. Each port has an I/O select direction register, allowing each pin in the port to be directed for input or output individually. Any port set to input can be set to use a pull-up resistor or not by a program. Description
Reference voltage input A/D converter I/O port
Input port
I
Input-only ports
I: Input O: Output I/O: Input and output Note: 1. Only in the R8C/38W Group and R8C/38X Group.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 19 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 2. Central Processing Unit (CPU)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
2.
Central Processing Unit (CPU)
Figure 2.1 shows the CPU Registers. The CPU contains 13 registers. R0, R1, R2, R3, A0, A1, and FB configure a register bank. There are two sets of register bank.
b31
b15
b8b7
b0
R2 R3
R0H (high-order of R0) R0L (low-order of R0) R1H (high-order of R1) R1L (low-order of R1) Data registers (1)
R2 R3 A0 A1 FB
b19 b15 b0
Address registers (1) Frame base register (1)
INTBH
INTBL
Interrupt table register
The 4 high order bits of INTB are INTBH and the 16 low order bits of INTB are INTBL.
b19 b0
PC
Program counter
b15
b0
USP ISP SB
b15 b0
User stack pointer Interrupt stack pointer Static base register
FLG
b15 b8 b7 b0
Flag register
IPL
U I OBSZDC
Carry flag Debug flag Zero flag Sign flag Register bank select flag Overflow flag Interrupt enable flag Stack pointer select flag Reserved bit Processor interrupt priority level Reserved bit
Note: 1. These registers comprise a register bank. There are two register banks.
Figure 2.1
CPU Registers
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 20 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 2. Central Processing Unit (CPU)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
2.1
Data Registers (R0, R1, R2, and R3)
R0 is a 16-bit register for transfer, arithmetic, and logic operations. The same applies to R1 to R3. R0 can be split into high-order bits (R0H) and low-order bits (R0L) to be used separately as 8-bit data registers. R1H and R1L are analogous to R0H and R0L. R2 can be combined with R0 and used as a 32-bit data register (R2R0). R3R1 is analogous to R2R0.
2.2
Address Registers (A0 and A1)
A0 is a 16-bit register for address register indirect addressing and address register relative addressing. It is also used for transfer, arithmetic, and logic operations. A1 is analogous to A0. A1 can be combined with A0 and as a 32bit address register (A1A0).
2.3
Frame Base Register (FB)
FB is a 16-bit register for FB relative addressing.
2.4
Interrupt Table Register (INTB)
INTB is a 20-bit register that indicates the start address of an interrupt vector table.
2.5
Program Counter (PC)
PC is 20 bits wide and indicates the address of the next instruction to be executed.
2.6
User Stack Pointer (USP) and Interrupt Stack Pointer (ISP)
The stack pointers (SP), USP, and ISP, are each 16 bits wide. The U flag of FLG is used to switch between USP and ISP.
2.7
Static Base Register (SB)
SB is a 16-bit register for SB relative addressing.
2.8
Flag Register (FLG)
FLG is an 11-bit register indicating the CPU state.
2.8.1
Carry Flag (C)
The C flag retains carry, borrow, or shift-out bits that have been generated by the arithmetic and logic unit.
2.8.2
Debug Flag (D)
The D flag is for debugging only. Set it to 0.
2.8.3
Zero Flag (Z)
The Z flag is set to 1 when an arithmetic operation results in 0; otherwise to 0.
2.8.4
Sign Flag (S)
The S flag is set to 1 when an arithmetic operation results in a negative value; otherwise to 0.
2.8.5
Register Bank Select Flag (B)
Register bank 0 is selected when the B flag is 0. Register bank 1 is selected when this flag is set to 1.
2.8.6
Overflow Flag (O)
The O flag is set to 1 when an operation results in an overflow; otherwise to 0.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 21 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 2. Central Processing Unit (CPU)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
2.8.7
Interrupt Enable Flag (I)
The I flag enables maskable interrupts. Interrupt are disabled when the I flag is set to 0, and are enabled when the I flag is set to 1. The I flag is set to 0 when an interrupt request is acknowledged.
2.8.8
Stack Pointer Select Flag (U)
ISP is selected when the U flag is set to 0; USP is selected when the U flag is set to 1. The U flag is set to 0 when a hardware interrupt request is acknowledged or the INT instruction of software interrupt numbers 0 to 31 is executed.
2.8.9
Processor Interrupt Priority Level (IPL)
IPL is 3 bits wide and assigns processor interrupt priority levels from level 0 to level 7. If a requested interrupt has higher priority than IPL, the interrupt is enabled.
2.8.10
Reserved Bit
If necessary, set to 0. When read, the content is undefined.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 22 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 3. Memory
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
3.
3.1
Memory
R8C/38W Group
Figure 3.1 is a Memory Map of R8C/38W Group. The R8C/38W Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning with address 0FFFFh. For example, a 64-Kbyte internal ROM area is allocated addresses 04000h to 13FFFh. The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. The starting address of each interrupt routine is stored here. The internal ROM (data flash) is allocated addresses 03000h to 03FFFh. The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 6-Kbyte internal RAM area is allocated addresses 00400h to 01BFFh. The internal RAM is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. Special function registers (SFRs) are allocated addresses 00000h to 002FFh and 02C00h to 02FFFh (the SFR areas for the CAN, DTC, and other modules). Peripheral function control registers are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users.
00000h
002FFh 00400h
(Refer to 4. Special Function Registers (SFRs))
SFR
Internal RAM
0XXXXh
02C00h 02FFFh 03000h
SFR (2)
0FFDCh
(Refer to 4. Special Function Registers (SFRs))
Internal ROM (data flash) (1) 03FFFh 0YYYYh
Undefined instruction Overflow BRK instruction Address match Single step
Watchdog timer, oscillation stop detection, voltage monitor
Internal ROM (program ROM)
0FFFFh
0FFFFh
Address break (Reserved) Reset
Internal ROM (program ROM)
ZZZZZh FFFFFh
Notes: 1. The Data Flash memory indicates blocks A (1 Kbyte), B (1 Kbyte), C (1 Kbyte), and D (1 Kbyte). 2. The SFR areas for the CAN, DTC and other modules are allocated to addresses 02C00h to 02FFFh. 3. The blank areas are reserved and cannot be accessed by users. Internal ROM Part Number R5F21388WJFP, R5F21388WKFP R5F2138AWJFP, R5F2138AWKFP R5F2138CWJFP, R5F2138CWKFP Size 64 Kbytes 96 Kbytes 128 Kbytes Address 0YYYYh 04000h 04000h 04000h Address ZZZZZh 13FFFh 1BFFFh 23FFFh Size 6 Kbytes 8 Kbytes 10 Kbytes Internal RAM Address 0XXXXh 01BFFh 023FFh 02BFFh
Figure 3.1
Memory Map of R8C/38W Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 23 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 3. Memory
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
3.2
R8C/38X Group
Figure 3.2 is a Memory Map of R8C/38X Group. The R8C/38X Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning with address 0FFFFh. For example, a 64-Kbyte internal ROM area is allocated addresses 04000h to 13FFFh. The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. The starting address of each interrupt routine is stored here. The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 6-Kbyte internal RAM area is allocated addresses 00400h to 01BFFh. The internal RAM is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. Special function registers (SFRs) are allocated addresses 00000h to 002FFh and 02C00h to 02FFFh (the SFR areas for the CAN, DTC, and other modules). Peripheral function control registers are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users.
00000h
SFR
002FFh 00400h
(Refer to 4. Special Function Registers (SFRs))
Internal RAM
0XXXXh
02C00h
SFR (1)
0FFDCh
(Refer to 4. Special Function Registers (SFRs)) 02FFFh
Undefined instruction Overflow BRK instruction Address match Single step
Watchdog timer, oscillation stop detection, voltage monitor
0YYYYh
Internal ROM (program ROM)
0FFFFh
0FFFFh
Address break (Reserved) Reset
Internal ROM (program ROM)
ZZZZZh FFFFFh
Notes: 1. The SFR areas for the CAN, DTC and other modules are allocated to addresses 02C00h to 02FFFh. 2. The blank areas are reserved and cannot be accessed by users. Internal ROM Part Number R5F21388XJFP, R5F21388XKFP R5F2138AXJFP, R5F2138AXKFP R5F2138CXJFP, R5F2138CXKFP Size 64 Kbytes 96 Kbytes 128 Kbytes Address 0YYYYh 04000h 04000h 04000h Address ZZZZZh 13FFFh 1BFFFh 23FFFh Size 6 Kbytes 8 Kbytes 10 Kbytes Internal RAM Address 0XXXXh 01BFFh 023FFh 02BFFh
Figure 3.2
Memory Map of R8C/38X Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 24 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 3. Memory
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
3.3
R8C/38Y Group
Figure 3.3 is a Memory Map of R8C/38Y Group. The R8C/38Y Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning with address 0FFFFh. For example, a 64-Kbyte internal ROM area is allocated addresses 04000h to 13FFFh. The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. The starting address of each interrupt routine is stored here. The internal ROM (data flash) is allocated addresses 03000h to 03FFFh. The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 6-Kbyte internal RAM area is allocated addresses 00400h to 01BFFh. The internal RAM is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. Special function registers (SFRs) are allocated addresses 00000h to 002FFh and 02C00h to 02FFFh (the SFR areas for the DTC and other modules). Peripheral function control registers are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users.
00000h
002FFh 00400h
(Refer to 4. Special Function Registers (SFRs))
SFR
Internal RAM
0XXXXh
02C00h
SFR (2)
0FFDCh
(Refer to 4. Special Function Registers (SFRs)) 02FFFh
03000h Internal ROM (data flash) (1) 03FFFh 0YYYYh
Undefined instruction Overflow BRK instruction Address match Single step
Watchdog timer, oscillation stop detection, voltage monitor
Internal ROM (program ROM)
0FFFFh
0FFFFh
Address break (Reserved) Reset
Internal ROM (program ROM)
ZZZZZh FFFFFh
Notes: 1. The Data Flash memory indicates blocks A (1 Kbyte), B (1 Kbyte), C (1 Kbyte), and D (1 Kbyte). 2. The SFR areas for the DTC and other modules are allocated to addresses 02C00h to 02FFFh. 3. The blank areas are reserved and cannot be accessed by users. Internal ROM Part Number R5F21388YJFP, R5F21388YKFP R5F2138AYJFP, R5F2138AYKFP R5F2138CYJFP, R5F2138CYKFP Size 64 Kbytes 96 Kbytes 128 Kbytes Address 0YYYYh 04000h 04000h 04000h Address ZZZZZh 13FFFh 1BFFFh 23FFFh Size 6 Kbytes 8 Kbytes 10 Kbytes Internal RAM Address 0XXXXh 01BFFh 023FFh 02BFFh
Figure 3.3
Memory Map of R8C/38Y Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 25 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 3. Memory
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
3.4
R8C/38Z Group
Figure 3.4 is a Memory Map of R8C/38Z Group. The R8C/38Z Group has a 1-Mbyte address space from addresses 00000h to FFFFFh. The internal ROM (program ROM) is allocated lower addresses, beginning with address 0FFFFh. For example, a 64-Kbyte internal ROM area is allocated addresses 04000h to 13FFFh. The fixed interrupt vector table is allocated addresses 0FFDCh to 0FFFFh. The starting address of each interrupt routine is stored here. The internal RAM is allocated higher addresses, beginning with address 00400h. For example, a 6-Kbyte internal RAM area is allocated addresses 00400h to 01BFFh. The internal RAM is used not only for data storage but also as a stack area when a subroutine is called or when an interrupt request is acknowledged. Special function registers (SFRs) are allocated addresses 00000h to 002FFh and 02C00h to 02FFFh (the SFR areas for the DTC and other modules). Peripheral function control registers are allocated here. All unallocated spaces within the SFRs are reserved and cannot be accessed by users.
00000h
002FFh 00400h
(Refer to 4. Special Function Registers (SFRs))
SFR
Internal RAM
0XXXXh
02C00h
SFR (1)
0FFDCh
(Refer to 4. Special Function Registers (SFRs)) 02FFFh
Undefined instruction Overflow BRK instruction Address match Single step
Watchdog timer, oscillation stop detection, voltage monitor
0YYYYh
Internal ROM (program ROM)
0FFFFh
0FFFFh
Address break (Reserved) Reset
Internal ROM (program ROM)
ZZZZZh FFFFFh
Notes: 1. The SFR areas for the DTC and other modules are allocated to addresses 02C00h to 02FFFh. 2. The blank areas are reserved and cannot be accessed by users. Internal ROM Part Number R5F21388ZJFP, R5F21388ZKFP R5F2138AZJFP, R5F2138AZKFP R5F2138CZJFP, R5F2138CZKFP Size 64 Kbytes 96 Kbytes 128 Kbytes Address 0YYYYh 04000h 04000h 04000h Address ZZZZZh 13FFFh 1BFFFh 23FFFh Size 6 Kbytes 8 Kbytes 10 Kbytes Internal RAM Address 0XXXXh 01BFFh 023FFh 02BFFh
Figure 3.4
Memory Map of R8C/38Z Group
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 26 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
4.
Special Function Registers (SFRs)
An SFR (special function register) is a control register for a peripheral function. Tables 4.1 to 4.17 list the special function registers and Table 4.18 lists the ID Code Areas and Option Function Select Area. Table 4.1
Address 0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h 0008h 0009h 000Ah 000Bh 000Ch 000Dh 000Eh 000Fh 0010h 0011h 0012h 0013h 0014h 0015h 0016h 0017h 0018h 0019h 001Ah 001Bh 001Ch 001Dh 001Eh 001Fh 0020h 0021h 0022h 0023h 0024h 0025h 0026h 0027h 0028h 0029h 002Ah 002Bh 002Ch 002Dh 002Eh 002Fh 0030h 0031h 0032h 0033h 0034h 0035h 0036h 0037h 0038h
SFR Information (1) (1)
Register Symbol After reset
Processor Mode Register 0 Processor Mode Register 1 System Clock Control Register 0 System Clock Control Register 1 Module Standby Control Register System Clock Control Register 3 Protect Register Reset Source Determination Register Oscillation Stop Detection Register Watchdog Timer Reset Register Watchdog Timer Start Register Watchdog Timer Control Register
PM0 PM1 CM0 CM1 MSTCR CM3 PRCR RSTFR OCD WDTR WDTS WDTC
00h 00h 00101000b 00100000b 00h 00h 00h 0XXXXXXXb (2) 00000100b XXh XXh 00111111b
High-Speed On-Chip Oscillator Control Register 7
FRA7
When shipping
Count Source Protection Mode Register
CSPR
00h 10000000b (3)
High-Speed On-Chip Oscillator Control Register 0 High-Speed On-Chip Oscillator Control Register 1 High-Speed On-Chip Oscillator Control Register 2 On-Chip Reference Voltage Control Register
FRA0 FRA1 FRA2 OCVREFCR
00h When shipping 00h 00h
High-Speed On-Chip Oscillator Control Register 4 High-Speed On-Chip Oscillator Control Register 5 High-Speed On-Chip Oscillator Control Register 6
FRA4 FRA5 FRA6
When Shipping When Shipping When Shipping
High-Speed On-Chip Oscillator Control Register 3 Voltage Monitor Circuit Control Register Voltage Monitor Circuit Edge Select Register Voltage Detect Register 1 Voltage Detect Register 2
FRA3 CMPA VCAC VCA1 VCA2
When shipping 00h 00h 00001000b 00h (4) 00100000b (5) 00000111b 1100X010b (4) 1100X011b (5) 10001010b
Voltage Detection 1 Level Select Register Voltage Monitor 0 Circuit Control Register
VD1LS VW0C
0039h Voltage Monitor 1 Circuit Control Register VW1C X : Undefined Notes: 1. The blank areas are reserved and cannot be accessed by users. 2. The CWR bit in the RSTFR register is set to 0 after power-on and voltage monitor 0 reset. Hardware reset, software reset or watchdog timer reset does not affect this bit. 3. The CSPROINI bit in the OFS register is set to 0. 4. The LVDAS bit in the OFS register is set to 1. 5. The LVDAS bit in the OFS register is set to 0.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 27 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.2
SFR Information (2) (1)
Symbol VW2C After reset 10000010b
Address Register 003Ah Voltage Monitor 2 Circuit Control Register 003Bh 003Ch 003Dh 003Eh 003Fh 0040h 0041h Flash Memory Ready Interrupt Control Register 0042h Timer RA1 Interrupt Control Register 0043h 0044h 0045h 0046h INT4 Interrupt Control Register 0047h Timer RC Interrupt Control Register 0048h Timer RD0 Interrupt Control Register 0049h Timer RD1 Interrupt Control Register 004Ah Timer RE Interrupt Control Register 004Bh UART2 Transmit Interrupt Control Register 004Ch UART2 Receive Interrupt Control Register 004Dh Key Input Interrupt Control Register 004Eh A/D Conversion Interrupt Control Register 004Fh SSU Interrupt Control Register 0050h Timer RF Compare1 Interrupt Control Register 0051h UART0 Transmit Interrupt Control Register 0052h UART0 Receive Interrupt Control Register 0053h UART1 Transmit Interrupt Control Register 0054h UART1 Receive Interrupt Control Register 0055h INT2 Interrupt Control Register 0056h Timer RA0 Interrupt Control Register 0057h 0058h Timer RB Interrupt Control Register 0059h INT1 Interrupt Control Register 005Ah INT3 Interrupt Control Register 005Bh Timer RF Interrupt Control Register 005Ch Timer RF Compare0 Interrupt Control Register 005Dh INT0 Interrupt Control Register 005Eh UART2 Bus Collision Detection Interrupt Control Register 005Fh Timer RF Capture Interrupt Control Register 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006Ah 006Bh Timer RG Interrupt Control Register 006Ch CAN0 Successful Reception Interrupt Control Register 006Dh CAN0 Successful Transmission Interrupt Control Register 006Eh CAN0 Receive FIFO Interrupt Control Register 006Fh CAN0 Transmit FIFO Interrupt Control Register 0070h CAN0 Error Interrupt Control Register 0071h CAN0 Wake-up Interrupt Control Register 0072h Voltage Monitor 1 Level Interrupt Control Register 0073h Voltage Monitor 2 Level Interrupt Control Register 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh 007Ch 007Dh 007Eh 007Fh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
FMRDYIC TRA1IC
XXXXX000b XXXXX000b
INT4IC TRCIC TRD0IC TRD1IC TREIC S2TIC S2RIC KUPIC ADIC SSUIC CMP1IC S0TIC S0RIC S1TIC S1RIC INT2IC TRA0IC TRBIC INT1IC INT3IC TRFIC CMP0IC INT0IC U2BCNIC CAPIC
XX00X000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XX00X000b XXXXX000b XXXXX000b XX00X000b XX00X000b XXXXX000b XXXXX000b XX00X000b XXXXX000b XXXXX000b
TRGIC C0RIC C0TIC C0FRIC C0FTIC C0EIC C0WIC VCMP1IC VCMP2IC
XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b XXXXX000b
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 28 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.3
Address 0080h 0081h 0082h 0083h 0084h 0085h 0086h 0087h 0088h 0089h 008Ah 008Bh 008Ch 008Dh 008Eh 008Fh 0090h 0091h 0092h 0093h 0094h 0095h 0096h 0097h 0098h 0099h 009Ah 009Bh 009Ch 009Dh 009Eh 009Fh 00A0h 00A1h 00A2h 00A3h 00A4h 00A5h 00A6h 00A7h 00A8h 00A9h 00AAh 00ABh 00ACh 00ADh 00AEh 00AFh 00B0h 00B1h 00B2h 00B3h 00B4h 00B5h 00B6h 00B7h 00B8h 00B9h 00BAh 00BBh 00BCh 00BDh 00BEh 00BFh
SFR Information (3) (1)
Register DTC Activation Control Register Symbol DTCTL After reset 00h
DTC Activation Enable Register 0 DTC Activation Enable Register 1 DTC Activation Enable Register 2 DTC Activation Enable Register 3 DTC Activation Enable Register 4 DTC Activation Enable Register 5 DTC Activation Enable Register 6 Timer RF Register
DTCEN0 DTCEN1 DTCEN2 DTCEN3 DTCEN4 DTCEN5 DTCEN6 TRF
00h 00h 00h 00h 00h 00h 00h 00h 00h
Timer RF Control Register 0 Timer RF Control Register 1 Capture and Compare 0 Register Compare 1 Register UART0 Transmit/Receive Mode Register UART0 Bit Rate Register UART0 Transmit Buffer Register UART0 Transmit/Receive Control Register 0 UART0 Transmit/Receive Control Register 1 UART0 Receive Buffer Register UART2 Transmit/Receive Mode Register UART2 Bit Rate Register UART2 Transmit Buffer Register UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1 UART2 Receive Buffer Register UART2 Digital Filter Function Select Register
TRFCR0 TRFCR1 TRFM0 TRFM1 U0MR U0BRG U0TB U0C0 U0C1 U0RB U2MR U2BRG U2TB U2C0 U2C1 U2RB URXDF
00h 00h 00h 00h FFh FFh 00h XXh XXh XXh 00001000b 00000010b XXh XXh 00h XXh XXh XXh 00001000b 00000010b XXh XXh 00h
UART2 Special Mode Register 5 UART2 Special Mode Register 4 UART2 Special Mode Register 3 UART2 Special Mode Register 2 UART2 Special Mode Register
U2SMR5 U2SMR4 U2SMR3 U2SMR2 U2SMR
00h 00h 000X0X0Xb X0000000b X0000000b
X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 29 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.4
SFR Information (4) (1)
Symbol AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 After reset XXh 000000XXb XXh 000000XXb XXh 000000XXb XXh 000000XXb XXh 000000XXb XXh 000000XXb XXh 000000XXb XXh 000000XXb
Address Register 00C0h A/D Register 0 00C1h 00C2h A/D Register 1 00C3h 00C4h A/D Register 2 00C5h 00C6h A/D Register 3 00C7h 00C8h A/D Register 4 00C9h 00CAh A/D Register 5 00CBh 00CCh A/D Register 6 00CDh 00CEh A/D Register 7 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h A/D Mode Register 00D5h A/D Input Select Register 00D6h A/D Control Register 0 00D7h A/D Control Register 1 00D8h 00D9h 00DAh 00DBh 00DCh 00DDh 00DEh 00DFh 00E0h Port P0 Register 00E1h Port P1 Register 00E2h Port P0 Direction Register 00E3h Port P1 Direction Register 00E4h Port P2 Register 00E5h Port P3 Register 00E6h Port P2 Direction Register 00E7h Port P3 Direction Register 00E8h Port P4 Register 00E9h Port P5 Register 00EAh Port P4 Direction Register 00EBh Port P5 Direction Register 00ECh Port P6 Register 00EDh Port P7 Register 00EEh Port P6 Direction Register 00EFh Port P7 Direction Register 00F0h Port P8 Register 00F1h Port P9 Register 00F2h Port P8 Direction Register 00F3h Port P9 Direction Register 00F4h 00F5h 00F6h 00F7h 00F8h 00F9h 00FAh 00FBh 00FCh 00FDh 00FEh 00FFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
ADMOD ADINSEL ADCON0 ADCON1
00h 11000000b 00h 00h
P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9
XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h XXh XXh 00h 00h
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 30 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.5
SFR Information (5) (1)
Symbol TRA0CR TRA0IOC TRA0MR TRA0PRE TRA0 LIN0CR2 LIN0CR LIN0ST TRBCR TRBOCR TRBIOC TRBMR TRBPRE TRBSC TRBPR TRA1CR TRA1IOC TRA1MR TRA1PRE TRA1 LIN1CR2 LIN1CR LIN1ST TRESEC TREMIN After reset 00h 00h 00h FFh FFh 00h 00h 00h 00h 00h 00h 00h FFh FFh FFh 00h 00h 00h FFh FFh 00h 00h 00h 00h 00h
Address Register 0100h Timer RA0 Control Register 0101h Timer RA0 I/O Control Register 0102h Timer RA0 Mode Register 0103h Timer RA0 Prescaler Register 0104h Timer RA0 Register 0105h LIN0 Control Register 2 0106h LIN0 Control Register 0107h LIN0 Status Register 0108h Timer RB Control Register 0109h Timer RB One-Shot Control Register 010Ah Timer RB I/O Control Register 010Bh Timer RB Mode Register 010Ch Timer RB Prescaler Register 010Dh Timer RB Secondary Register 010Eh Timer RB Primary Register 010Fh 0110h Timer RA1 Control Register 0111h Timer RA1 I/O Control Register 0112h Timer RA1 Mode Register 0113h Timer RA1 Prescaler Register 0114h Timer RA1 Register 0115h LIN1 Control Register 2 0116h LIN1 Control Register 0117h LIN1 Status Register 0118h Timer RE Counter Data Register 0119h Timer RE Compare Data Register 011Ah 011Bh 011Ch Timer RE Control Register 1 011Dh Timer RE Control Register 2 011Eh Timer RE Count Source Select Register 011Fh 0120h Timer RC Mode Register 0121h Timer RC Control Register 1 0122h Timer RC Interrupt Enable Register 0123h Timer RC Status Register 0124h Timer RC I/O Control Register 0 0125h Timer RC I/O Control Register 1 0126h Timer RC Counter 0127h 0128h Timer RC General Register A 0129h 012Ah Timer RC General Register B 012Bh 012Ch Timer RC General Register C 012Dh 012Eh Timer RC General Register D 012Fh 0130h Timer RC Control Register 2 0131h Timer RC Digital Filter Function Select Register 0132h Timer RC Output Master Enable Register 0133h Timer RC Trigger Control Register 0134h 0135h 0136h Timer RD Trigger Control Register 0137h Timer RD Start Register 0138h Timer RD Mode Register 0139h Timer RD PWM Mode Register 013Ah Timer RD Function Control Register 013Bh Timer RD Output Master Enable Register 1 013Ch Timer RD Output Master Enable Register 2 013Dh Timer RD Output Control Register 013Eh Timer RD Digital Filter Function Select Register 0 013Fh Timer RD Digital Filter Function Select Register 1 Note: 1. The blank areas are reserved and cannot be accessed by users.
TRECR1 TRECR2 TRECSR TRCMR TRCCR1 TRCIER TRCSR TRCIOR0 TRCIOR1 TRC TRCGRA TRCGRB TRCGRC TRCGRD TRCCR2 TRCDF TRCOER TRCADCR
00h 00h 00001000b 01001000b 00h 01110000b 01110000b 10001000b 10001000b 00h 00h FFh FFh FFh FFh FFh FFh FFh FFh 00011000b 00h 01111111b 00h
TRDADCR TRDSTR TRDMR TRDPMR TRDFCR TRDOER1 TRDOER2 TRDOCR TRDDF0 TRDDF1
00h 11111100b 00001110b 10001000b 10000000b FFh 01111111b 00h 00h 00h
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 31 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.6
SFR Information (6) (1)
Symbol TRDCR0 TRDIORA0 TRDIORC0 TRDSR0 TRDIER0 TRDPOCR0 TRD0 TRDGRA0 TRDGRB0 TRDGRC0 TRDGRD0 TRDCR1 TRDIORA1 TRDIORC1 TRDSR1 TRDIER1 TRDPOCR1 TRD1 TRDGRA1 TRDGRB1 TRDGRC1 TRDGRD1 U1MR U1BRG U1TB U1C0 U1C1 U1RB After reset 00h 10001000b 10001000b 11100000b 11100000b 11111000b 00h 00h FFh FFh FFh FFh FFh FFh FFh FFh 00h 10001000b 10001000b 11000000b 11100000b 11111000b 00h 00h FFh FFh FFh FFh FFh FFh FFh FFh 00h XXh XXh XXh 00001000b 00000010b XXh XXh
Address Register 0140h Timer RD Control Register 0 0141h Timer RD I/O Control Register A0 0142h Timer RD I/O Control Register C0 0143h Timer RD Status Register 0 0144h Timer RD Interrupt Enable Register 0 0145h Timer RD PWM Mode Output Level Control Register 0 0146h Timer RD Counter 0 0147h 0148h Timer RD General Register A0 0149h 014Ah Timer RD General Register B0 014Bh 014Ch Timer RD General Register C0 014Dh 014Eh Timer RD General Register D0 014Fh 0150h Timer RD Control Register 1 0151h Timer RD I/O Control Register A1 0152h Timer RD I/O Control Register C1 0153h Timer RD Status Register 1 0154h Timer RD Interrupt Enable Register 1 0155h Timer RD PWM Mode Output Level Control Register 1 0156h Timer RD Counter 1 0157h 0158h Timer RD General Register A1 0159h 015Ah Timer RD General Register B1 015Bh 015Ch Timer RD General Register C1 015Dh 015Eh Timer RD General Register D1 015Fh 0160h UART1 Transmit/Receive Mode Register 0161h UART1 Bit Rate Register 0162h UART1 Transmit Buffer Register 0163h 0164h UART1 Transmit/Receive Control Register 0 0165h UART1 Transmit/Receive Control Register 1 0166h UART1 Receive Buffer Register 0167h 0168h 0169h 016Ah 016Bh 016Ch 016Dh 016Eh 016Fh 0170h Timer RG Mode Register 0171h Timer RG Count Control Register 0172h Timer RG Control Register 0173h Timer RG Interrupt Enable Register 0174h Timer RG Status Register 0175h Timer RG I/O Control Register 0176h Timer RG Counter 0177h 0178h Timer RG General Register A 0179h 017Ah Timer RG General Register B 017Bh 017Ch Timer RG General Register C 017Dh 017Eh Timer RG General Register D 017Fh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
TRGMR TRGCNTC TRGCR TRGIER TRGSR TRGIOR TRG TRGGRA TRGGRB TRGGRC TRGGRD
01000000b 00000000b 10000000b 11110000b 11100000b 00000000b 00h 00h FFh FFh FFh FFh FFh FFh FFh FFh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 32 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.7
SFR Information (7) (1)
Symbol TRASR TRBRCSR TRCPSR0 TRCPSR1 TRDPSR0 TRDPSR1 TIMSR TRFOUT U0SR U1SR U2SR0 U2SR1 SSUIICSR INTSR PINSR After reset 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
Address Register 0180h Timer RA Pin Select Register 0181h Timer RB/RC Pin Select Register 0182h Timer RC Pin Select Register 0 0183h Timer RC Pin Select Register 1 0184h Timer RD Pin Select Register 0 0185h Timer RD Pin Select Register 1 0186h Timer Pin Select Register 0187h Timer RF Output Control Register 0188h UART0 Pin Select Register 0189h UART1 Pin Select Register 018Ah UART2 Pin Select Register 0 018Bh UART2 Pin Select Register 1 018Ch SSU Pin Select Register 018Dh 018Eh INT Interrupt Input Pin Select Register 018Fh I/O Function Pin Select Register 0190h 0191h 0192h 0193h SS Bit Counter Register 0194h SS Transmit Data Register 0195h 0196h SS Receive Data Register 0197h 0198h SS Control Register H 0199h SS Control Register L 019Ah SS Mode Register 019Bh SS Enable Register 019Ch SS Status Register 019Dh SS Mode Register 2 019Eh 019Fh 01A0h 01A1h 01A2h 01A3h 01A4h 01A5h 01A6h 01A7h 01A8h 01A9h 01AAh 01ABh 01ACh 01ADh 01AEh 01AFh 01B0h 01B1h 01B2h Flash Memory Status Register 01B3h 01B4h Flash Memory Control Register 0 01B5h Flash Memory Control Register 1 01B6h Flash Memory Control Register 2 01B7h 01B8h 01B9h 01BAh 01BBh 01BCh 01BDh 01BEh 01BFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
SSBR SSTDR SSRDR SSCRH SSCRL SSMR SSER SSSR SSMR2
11111000b FFh FFh FFh FFh 00h 01111101b 00010000b 00h 00h 00h
FST FMR0 FMR1 FMR2
10000X00b 00h 00h 00h
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 33 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.8
SFR Information (8) (1)
Symbol RMAD0 After reset XXh XXh 0000XXXXb 00h XXh XXh 0000XXXXb 00h
Address Register 01C0h Address Match Interrupt Register 0 01C1h 01C2h 01C3h Address Match Interrupt Enable Register 0 01C4h Address Match Interrupt Register 1 01C5h 01C6h 01C7h Address Match Interrupt Enable Register 1 01C8h 01C9h 01CAh 01CBh 01CCh 01CDh 01CEh 01CFh 01D0h 01D1h 01D2h 01D3h 01D4h 01D5h 01D6h 01D7h 01D8h 01D9h 01DAh 01DBh 01DCh 01DDh 01DEh 01DFh 01E0h Pull-Up Control Register 0 01E1h Pull-Up Control Register 1 01E2h Pull-Up Control Register 2 01E3h 01E4h 01E5h 01E6h 01E7h 01E8h 01E9h 01EAh 01EBh 01ECh 01EDh 01EEh 01EFh 01F0h 01F1h 01F2h 01F3h 01F4h 01F5h Input Threshold Control Register 0 01F6h Input Threshold Control Register 1 01F7h Input Threshold Control Register 2 01F8h 01F9h 01FAh External Input Enable Register 0 01FBh External Input Enable Register 1 01FCh INT Input Filter Select Register 0 01FDh INT Input Filter Select Register 1 01FEh Key Input Enable Register 0 01FFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
AIER0 RMAD1
AIER1
PUR0 PUR1 PUR2
00h 00h 00h
VLT0 VLT1 VLT2
00h 00h 00h
INTEN INTEN1 INTF INTF1 KIEN
00h 00h 00h 00h 00h
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 34 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.9
SFR Information (9) (1)
Symbol XXh XXh XXh XXh XXh After reset
Address Register 2C00h DTC Transfer Vector Area 2C01h DTC Transfer Vector Area 2C02h DTC Transfer Vector Area 2C03h DTC Transfer Vector Area 2C04h DTC Transfer Vector Area 2C05h 2C06h 2C07h 2C08h DTC Transfer Vector Area 2C09h DTC Transfer Vector Area 2C0Ah DTC Transfer Vector Area : DTC Transfer Vector Area : DTC Transfer Vector Area 2C3Ah 2C3Bh 2C3Ch 2C3Dh 2C3Eh 2C3Fh 2C40h DTC Control Data 0 2C41h 2C42h 2C43h 2C44h 2C45h 2C46h 2C47h 2C48h DTC Control Data 1 2C49h 2C4Ah 2C4Bh 2C4Ch 2C4Dh 2C4Eh 2C4Fh 2C50h DTC Control Data 2 2C51h 2C52h 2C53h 2C54h 2C55h 2C56h 2C57h 2C58h DTC Control Data 3 2C59h 2C5Ah 2C5Bh 2C5Ch 2C5Dh 2C5Eh 2C5Fh 2C60h DTC Control Data 4 2C61h 2C62h 2C63h 2C64h 2C65h 2C66h 2C67h 2C68h DTC Control Data 5 2C69h 2C6Ah 2C6Bh 2C6Ch 2C6Dh 2C6Eh 2C6Fh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
XXh XXh XXh XXh XXh
DTCD0
DTCD1
DTCD2
DTCD3
DTCD4
DTCD5
XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 35 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.10
SFR Information (10) (1)
Symbol DTCD6 After reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh
Address Register 2C70h DTC Control Data 6 2C71h 2C72h 2C73h 2C74h 2C75h 2C76h 2C77h 2C78h DTC Control Data 7 2C79h 2C7Ah 2C7Bh 2C7Ch 2C7Dh 2C7Eh 2C7Fh 2C80h DTC Control Data 8 2C81h 2C82h 2C83h 2C84h 2C85h 2C86h 2C87h 2C88h DTC Control Data 9 2C89h 2C8Ah 2C8Bh 2C8Ch 2C8Dh 2C8Eh 2C8Fh 2C90h DTC Control Data 10 2C91h 2C92h 2C93h 2C94h 2C95h 2C96h 2C97h 2C98h DTC Control Data 11 2C99h 2C9Ah 2C9Bh 2C9Ch 2C9Dh 2C9Eh 2C9Fh 2CA0h DTC Control Data 12 2CA1h 2CA2h 2CA3h 2CA4h 2CA5h 2CA6h 2CA7h 2CA8h DTC Control Data 13 2CA9h 2CAAh 2CABh 2CACh 2CADh 2CAEh 2CAFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
DTCD7
DTCD8
DTCD9
DTCD10
DTCD11
DTCD12
DTCD13
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 36 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.11
SFR Information (11) (1)
Symbol DTCD14 After reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh
Address Register 2CB0h DTC Control Data 14 2CB1h 2CB2h 2CB3h 2CB4h 2CB5h 2CB6h 2CB7h 2CB8h DTC Control Data 15 2CB9h 2CBAh 2CBBh 2CBCh 2CBDh 2CBEh 2CBFh 2CC0h DTC Control Data 16 2CC1h 2CC2h 2CC3h 2CC4h 2CC5h 2CC6h 2CC7h 2CC8h DTC Control Data 17 2CC9h 2CCAh 2CCBh 2CCCh 2CCDh 2CCEh 2CCFh 2CD0h DTC Control Data 18 2CD1h 2CD2h 2CD3h 2CD4h 2CD5h 2CD6h 2CD7h 2CD8h DTC Control Data 19 2CD9h 2CDAh 2CDBh 2CDCh 2CDDh 2CDEh 2CDFh 2CE0h DTC Control Data 20 2CE1h 2CE2h 2CE3h 2CE4h 2CE5h 2CE6h 2CE7h 2CE8h DTC Control Data 21 2CE9h 2CEAh 2CEBh 2CECh 2CEDh 2CEEh 2CEFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
DTCD15
DTCD16
DTCD17
DTCD18
DTCD19
DTCD20
DTCD21
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 37 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.12
SFR Information (12) (1)
Symbol DTCD22 After reset XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh XXh
Address Register 2CF0h DTC Control Data 22 2CF1h 2CF2h 2CF3h 2CF4h 2CF5h 2CF6h 2CF7h 2CF8h DTC Control Data 23 2CF9h 2CFAh 2CFBh 2CFCh 2CFDh 2CFEh 2CFFh 2D00h 2D01h : 2E00h CAN0 Mailbox 0 : Message ID 2E01h 2E02h 2E03h 2E04h 2E05h CAN0 Mailbox 0 : Data length 2E06h CAN0 Mailbox 0 : Data field 2E07h 2E08h 2E09h 2E0Ah 2E0Bh 2E0Ch 2E0Dh 2E0Eh CAN0 Mailbox 0 : Time stamp 2E0Fh 2E10h CAN0 Mailbox 1 : Message ID 2E11h 2E12h 2E13h 2E14h 2E15h CAN0 Mailbox 1 : Data length 2E16h CAN0 Mailbox 1 : Data field 2E17h 2E18h 2E19h 2E1Ah 2E1Bh 2E1Ch 2E1Dh 2E1Eh CAN0 Mailbox 1 : Time stamp 2E1Fh 2E20h CAN0 Mailbox 2 : Message ID 2E21h 2E22h 2E23h 2E24h 2E25h CAN0 Mailbox 2 : Data length 2E26h CAN0 Mailbox 2 : Data field 2E27h 2E28h 2E29h 2E2Ah 2E2Bh 2E2Ch 2E2Dh 2E2Eh CAN0 Mailbox 2 : Time stamp 2E2Fh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
DTCD23
C0MB0
XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB1 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB2 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 38 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.13
SFR Information (13) (1)
Symbol C0MB3 After reset XXXX XXXXh
Address Register 2E30h CAN0 Mailbox 3 : Message ID 2E31h 2E32h 2E33h 2E34h 2E35h CAN0 Mailbox 3 : Data length 2E36h CAN0 Mailbox 3 : Data field 2E37h 2E38h 2E39h 2E3Ah 2E3Bh 2E3Ch 2E3Dh 2E3Eh CAN0 Mailbox3 : Time stamp 2E3Fh 2E40h CAN0 Mailbox4 : Message ID 2E41h 2E42h 2E43h 2E44h 2E45h CAN0 Mailbox4 : Data length 2E46h CAN0 Mailbox4 : Data field 2E47h 2E48h 2E49h 2E4Ah 2E4Bh 2E4Ch 2E4Dh 2E4Eh CAN0 Mailbox4 : Time stamp 2E4Fh 2E50h CAN0 Mailbox5 : Message ID 2E51h 2E52h 2E53h 2E54h 2E55h CAN0 Mailbox5 : Data length 2E56h CAN0 Mailbox5 : Data field 2E57h 2E58h 2E59h 2E5Ah 2E5Bh 2E5Ch 2E5Dh 2E5Eh CAN0 Mailbox5 : Time stamp 2E5Fh 2E60h CAN0 Mailbox6 : Message ID 2E61h 2E62h 2E63h 2E64h 2E65h CAN0 Mailbox6 : Data length 2E66h CAN0 Mailbox6 : Data field 2E67h 2E68h 2E69h 2E6Ah 2E6Bh 2E6Ch 2E6Dh 2E6Eh CAN0 Mailbox6 : Time stamp 2E6Fh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB4 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB5 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB6 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 39 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.14
SFR Information (14) (1)
Symbol C0MB7 After reset XXXX XXXXh
Address Register 2E70h CAN0 Mailbox7 : Message ID 2E71h 2E72h 2E73h 2E74h 2E75h CAN0 Mailbox7 : Data length 2E76h CAN0 Mailbox7 : Data field 2E77h 2E78h 2E79h 2E7Ah 2E7Bh 2E7Ch 2E7Dh 2E7Eh CAN0 Mailbox7 : Time stamp 2E7Fh 2E80h CAN0 Mailbox8 : Message ID 2E81h 2E82h 2E83h 2E84h 2E85h CAN0 Mailbox8 : Data length 2E86h CAN0 Mailbox8 : Data field 2E87h 2E88h 2E89h 2E8Ah 2E8Bh 2E8Ch 2E8Dh 2E8Eh CAN0 Mailbox8 : Time stamp 2E8Fh 2E90h CAN0 Mailbox9 : Message ID 2E91h 2E92h 2E93h 2E94h 2E95h CAN0 Mailbox9 : Data length 2E96h CAN0 Mailbox9 : Data field 2E97h 2E98h 2E99h 2E9Ah 2E9Bh 2E9Ch 2E9Dh 2E9Eh CAN0 Mailbox9 : Time stamp 2E9Fh 2EA0h CAN0 Mailbox10 : Message ID 2EA1h 2EA2h 2EA3h 2EA4h 2EA5h CAN0 Mailbox10 : Data length 2EA6h CAN0 Mailbox10 : Data field 2EA7h 2EA8h 2EA9h 2EAAh 2EABh 2EACh 2EADh 2EAEh CAN0 Mailbox10 : Time stamp 2EAFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB8 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB9 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB10 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 40 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.15
SFR Information (15) (1)
Symbol C0MB11 After reset XXXX XXXXh
Address Register 2EB0h CAN0 Mailbox11 : Message ID 2EB1h 2EB2h 2EB3h 2EB4h 2EB5h CAN0 Mailbox11 : Data length 2EB6h CAN0 Mailbox11 : Data field 2EB7h 2EB8h 2EB9h 2EBAh 2EBBh 2EBCh 2EBDh 2EBEh CAN0 Mailbox11 : Time stamp 2EBFh 2EC0h CAN0 Mailbox12 : Message ID 2EC1h 2EC2h 2EC3h 2EC4h 2EC5h CAN0 Mailbox12 : Data length 2EC6h CAN0 Mailbox12 : Data field 2EC7h 2EC8h 2EC9h 2ECAh 2ECBh 2ECCh 2ECDh 2ECEh CAN0 Mailbox12 : Time stamp 2ECFh 2ED0h CAN0 Mailbox13 : Message ID 2ED1h 2ED2h 2ED3h 2ED4h 2ED5h CAN0 Mailbox13 : Data length 2ED6h CAN0 Mailbox13 : Data field 2ED7h 2ED8h 2ED9h 2EDAh 2EDBh 2EDCh 2EDDh 2EDEh CAN0 Mailbox13 : Time stamp 2EDFh 2EE0h CAN0 Mailbox14 : Message ID 2EE1h 2EE2h 2EE3h 2EE4h 2EE5h CAN0 Mailbox14 : Data length 2EE6h CAN0 Mailbox14 : Data field 2EE7h 2EE8h 2EE9h 2EEAh 2EEBh 2EECh 2EEDh 2EEEh CAN0 Mailbox14 : Time stamp 2EEFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB12 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB13 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh C0MB14 XXXX XXXXh
XXh XXXX XXXX XXXX XXXXh
XXXXh
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 41 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.16
SFR Information (16) (1)
Symbol C0MB15 After reset XXXX XXXXh
Address Register 2EF0h CAN0 Mailbox15 : Message ID 2EF1h 2EF2h 2EF3h 2EF4h 2EF5h CAN0 Mailbox15 : Data length 2EF6h CAN0 Mailbox15 : Data field 2EF7h 2EF8h 2EF9h 2EFAh 2EFBh 2EFCh 2EFDh 2EFEh CAN0 Mailbox15 : Time stamp 2EFFh 2F00h 2F01h 2F02h 2F03h 2F04h 2F05h 2F06h 2F07h 2F08h 2F09h 2F0Ah 2F0Bh 2F0Ch 2F0Dh 2F0Eh 2F0Fh 2F10h CAN0 Mask Register 0 2F11h 2F12h 2F13h 2F14h CAN0 Mask Register 1 2F15h 2F16h 2F17h 2F18h CAN0 Mask Register 2 2F19h 2F1Ah 2F1Bh 2F1Ch CAN0 Mask Register 3 2F1Dh 2F1Eh 2F1Fh 2F20h CAN0 FIFO Received ID Compare Register 0 2F21h 2F22h 2F23h 2F24h CAN0 FIFO Received ID Compare Register 1 2F25h 2F26h 2F27h 2F28h 2F29h 2F2Ah CAN0 Mask Invalid Register 2F2Bh 2F2Ch 2F2Dh 2F2Eh CAN0 Mailbox Interrupt Enable Register 2F2Fh 2F30h CAN0 Message Control Register 0 2F31h CAN0 Message Control Register 1 2F32h CAN0 Message Control Register 2 2F33h CAN0 Message Control Register 3 2F34h CAN0 Message Control Register 4 2F35h CAN0 Message Control Register 5 2F36h CAN0 Message Control Register 6 2F37h CAN0 Message Control Register 7 2F38h CAN0 Message Control Register 8 2F39h CAN0 Message Control Register 9 2F3Ah CAN0 Message Control Register 10 X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
XXh XXXX XXXX XXXX XXXXh
XXXXh
C0MKR0
XXXX XXXXh
C0MKR1
XXXX XXXXh
C0MKR2
XXXX XXXXh
C0MKR3
XXXX XXXXh
C0FIDCR0
XXXX XXXXh
C0FIDCR1
XXXX XXXXh
C0MKIVLR
XXXXh
C0MIER C0MCTL0 C0MCTL1 C0MCTL2 C0MCTL3 C0MCTL4 C0MCTL5 C0MCTL6 C0MCTL7 C0MCTL8 C0MCTL9 C0MCTL10
XXXXh 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 42 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 4. Special Function Registers (SFRs)
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 4.17
SFR Information (17) (1)
Symbol C0MCTL11 C0MCTL12 C0MCTL13 C0MCTL14 C0MCTL15 C0CTLR C0STR C0BCR After reset 00h 00h 00h 00h 00h 0000 0101b 0000 0000b 0000 0101b 0000 0000b 00 0000h
Address Register 2F3Bh CAN0 Message Control Register 11 2F3Ch CAN0 Message Control Register 12 2F3Dh CAN0 Message Control Register 13 2F3Eh CAN0 Message Control Register 14 2F3Fh CAN0 Message Control Register 15 2F40h CAN0 Control Register 2F41h 2F42h CAN0 Status Register 2F43h 2F44h CAN0 Bit Configuration Register 2F45h 2F46h 2F47h 2F48h CAN0 Receive FIFO Control Register 2F49h CAN0 Receive FIFO Pointer Control Register 2F4Ah CAN0 Transmit FIFO Control Register 2F4Bh CAN0 Transmit FIFO Pointer Control Register 2F4Ch CAN0 Error Interrupt Enable Register 2F4Dh CAN0 Error Interrupt Factor Judge Register 2F4Eh CAN0 Reception Error Count Register 2F4Fh CAN0 Transmission Error Count Register 2F50h CAN0 Error Code Store Register 2F51h CAN0 Channel Search Support Register 2F52h CAN0 Mailbox Search Status Register 2F53h CAN0 Mailbox Search Mode Register 2F54h CAN0 Time Stamp Register 2F55h 2F56h CAN0 Acceptance Filter Support Register 2F57h 2F58h CAN0 Test Control Register : 2FFFh X : Undefined Note: 1. The blank areas are reserved and cannot be accessed by users.
C0RFCR C0RFPCR C0TFCR C0TFPCR C0EIER C0EIFR C0RECR C0TECR C0ECSR C0CSSR C0MSSR C0MSMR C0TSR C0AFSR C0TCR
1000 0000b XXh 1000 0000b XXh 00h 00h 00h 00h 00h XXh 1000 0000b 00h 0000h XXXXh 00h
Table 4.18
Address : FFDBh : FFDFh : FFE3h : FFEBh : FFEFh : FFF3h : FFF7h : FFFBh : FFFFh Notes: 1.
ID Code Areas and Option Function Select Area
Area Name Option Function Select Register 2 ID1 ID2 ID3 ID4 ID5 ID6 ID7 Option Function Select Register OFS OFS2 Symbol After Reset (Note 1) (Note 2) (Note 2) (Note 2) (Note 2) (Note 2) (Note 2) (Note 2) (Note 1)
2.
The option function select area is allocated in the flash memory, not in the SFRs. Set appropriate values as ROM data by a program. Do not write additions to the option function select area. If the block including the option function select area is erased, the option function select area is set to FFh. When blank products are shipped, the option function select area is set to FFh. It is set to the written value after written by the user. When factory-programming products are shipped, the value of the option function select area is the value programmed by the user. The ID code areas are allocated in the flash memory, not in the SFRs. Set appropriate values as ROM data by a program. Do not write additions to the ID code areas. If the block including the ID code areas is erased, the ID code areas are set to FFh. When blank products are shipped, the ID code areas are set to FFh. They are set to the written value after written by the user. When factory-programming products are shipped, the value of the ID code areas is the value programmed by the user.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 43 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
5.
Electrical Characteristics
Table 5.1
Symbol VCC/AVCC Supply voltage VI IIN VO Pd Topr Tstg Notes: 1. 2. 3. 4. Input voltage (1) Input current (1) Output voltage Power dissipation Operating ambient temperature Storage temperature -40 C Topr < 85 C 85 C Topr < 125 C
(2, 3, 4)
Absolute Maximum Ratings
Parameter Condition Rated Value -0.3 to 6.5 -0.3 to VCC + 0.3 -4 to 4 -0.3 to VCC + 0.3 300 125 -40 to 85 (J version) / -40 to 125 (K version) -65 to 150 Unit V V mA V mW mW C C
Meet the specified range for the input voltage or the input current. Applicable ports: P0 to P3, P4_3 to P4_5, P5 to P8, P9_0 to P9_5 The total input current must be 12 mA or less. Even if no voltage is supplied to Vcc, the input current may cause the MCU to be powered on and operate. When a voltage is supplied to Vcc, the input current may cause the supply voltage to rise. Since operations in any cases other than above are not guaranteed, use the power supply circuit in the system to ensure the supply voltage for the MCU is stable within the specified range.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 44 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.2
Symbol
Recommended Operating Conditions (1)
Parameter Conditions Standard Min. 2.7 - Other than CMOS input CMOS input Input level Input level selection switching : 0.35 VCC function Input level selection (I/O port) : 0.5 VCC 4.0 V VCC 5.5 V 4.0 V VCC 5.5 V 2.7 V VCC < 4.0 V 0.8 VCC 0.5 VCC 0.65 VCC 0.7 VCC 2.7 V VCC < 4.0 V 0.55 VCC Typ. - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Max. 5.5 - VCC VCC VCC VCC VCC VCC VCC VCC 0.2 VCC 0.2 VCC 0.2 VCC 0.4 VCC 0.3 VCC 0.55 VCC 0.45 VCC 0.4 -80 -40 -10 -5 80 40 10 5 20 40 20 20 20 Unit V V V V V V V V V V V V V V V V V V mA mA mA mA mA mA mA mA MHz MHz MHz MHz MHz
VCC/AVCC Supply voltage VSS/AVSS Supply voltage VIH Input "H" voltage
Input level selection 4.0 V VCC 5.5 V 0.85 VCC : 0.7 VCC 2.7 V VCC < 4.0 V 0.85 VCC External clock input (XOUT) VIL Input "L" voltage Other than CMOS input CMOS input Input level switching function (I/O port) Input level selection 4.0 V VCC 5.5 V : 0.35 VCC 2.7 V VCC < 4.0 V Input level selection 4.0 V VCC 5.5 V : 0.5 VCC 2.7 V VCC < 4.0 V Input level selection 4.0 V VCC 5.5 V : 0.7 VCC 2.7 V VCC < 4.0 V External clock input (XOUT) IOH(sum) IOH(sum) IOH(peak) IOH(avg) IOL(sum) IOL(sum) IOL(peak) IOL(avg) f(XIN) fOCO-F - f(BCLK) Peak sum output "H" current Peak output "H" current Average output "H" current Peak sum output "L" current Peak output "L" current Average output "L" current XIN clock input oscillation frequency fOCO-F frequency System clock frequency CPU clock frequency 2.7 V VCC 5.5 V 2.7 V VCC 5.5 V 2.7 V VCC 5.5 V 2.7 V VCC 5.5 V 2.7 V VCC 5.5 V Sum of all pins IOL(peak) Average sum output "L" current Sum of all pins IOL(avg) Sum of all pins IOH(peak) Average sum output "H" current Sum of all pins IOH(avg) 1.2 0 0 0 0 0 0 0 0 - - - - - - - - - 32 - - -
fOCO40M Count source for timer RC, timer RD, or timer RG
Notes: 1. VCC = 2.7 to 5.5 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), unless otherwise specified. 2. The average output current indicates the average value of current measured during 100 ms.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 45 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.3
Symbol IIC(H) IIC(L) |IIC|
Recommended Operating Conditions (2)
Parameter Conditions VI > VCC VI > VSS Min. - - - Standard Typ. Max. - 2 - - -2 8 Unit mA mA mA
High input injection P0 to P3, P4_3 to P4_5, P5 to P8, current P9_0 to P9_5 Low input injection current P0 to P3, P4_3 to P4_5, P5 to P8, P9_0 to P9_5
Total injection current
Note: 1. VCC = 2.7 to 5.5 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), unless otherwise specified.
P0 P1 P2 P3 P4_2 to P4_7 P5 P6 P7 P8 P9_0 to P9_5
30 pF
Figure 5.1
Ports P0 to P3, P4_2 to P4_7, P5 to P8, and P9_0 to P9_5 Timing Measurement Circuit
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 46 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.4
Symbol - -
A/D Converter Characteristics
Parameter Conditions Vref = AVCC 10-bit mode Vref = AVCC = 5.0 V AN0 to AN7 input, AN8 to AN11 input, AN12 to AN19 input AN0 to AN7 input, AN8 to AN11 input, AN12 to AN19 input AN0 to AN7 input, AN8 to AN11 input, AN12 to AN19 input AN0 to AN7 input, AN8 to AN11 input, AN12 to AN19 input Standard Min. - - Typ. - - Max. 10 3 Unit Bit LSB
Resolution Absolute accuracy
Vref = AVCC = 3.0 V
-
-
5
LSB
8-bit mode
Vref = AVCC = 5.0 V
-
-
2
LSB
Vref = AVCC = 3.0 V
-
-
2
LSB
AD - Ivref tCONV tSAMP Vref VIA
A/D conversion clock Tolerance level impedance Vref current Conversion time Sampling time Reference voltage Analog input voltage (3) 10-bit mode 8-bit mode
4.0 Vref = AVCC = 5.5 (2) 2.7 Vref = AVCC = 5.5 (2) VCC = 5.0 V, XIN = f1 = AD = 20 MHz Vref = AVCC = 5.0 V, AD = 20 MHz Vref = AVCC = 5.0 V, AD = 20 MHz AD = 20 MHz
2 2 - - 2.2 2.2 0.75 2.7 0
- - 3 45 - - - - - 1.34
20 10 - - - - - AVCC Vref 1.54
MHz MHz k A s s s V V V
OCVREF On-chip reference voltage
2 MHz AD 4 MHz
1.14
Notes: 1. VCC/AVCC = Vref = 2.7 to 5.5 V, VSS = 0 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), unless otherwise specified. 2. The A/D conversion result will be undefined in wait mode, stop mode, when the flash memory stops, and in low-consumption current mode. Do not perform A/D conversion in these states or transition to these states during A/D conversion. 3. When the analog input voltage is over the reference voltage, the A/D conversion result will be 3FFh in 10-bit mode and FFh in 8-bit mode.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 47 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.5
Symbol - - - - - - td(SR-SUS) - -
Flash Memory (Program ROM) Electrical Characteristics
Parameter Program/erase endurance (2) Byte program time (program/erase endurance 1,000 times) Byte program time (program/erase endurance > 1,000 times) Word program time (program/erase endurance 1,000 times) Word program time (program/erase endurance > 1,000 times) Block erase time Time delay from suspend request until suspend Interval from erase start/restart until following suspend request Time from suspend until erase restart Conditions R8C/38X, R8C/38Z Group R8C/38W, R8C/38Y Group Standard Min. 100 (3) 1,000 (3) - - - - - - 0 - - 2.7 2.7 -40 Ambient temperature = 55C (8) 20 Typ. - - 60 60 100 100 0.3 - - - - - - - - Max. - - 300 500 400 650 4 5+CPU clock x 3 cycles - 30+CPU clock x 1 cycle 30+CPU clock x 1 cycle 5.5 5.5 85 (J version) 125 (K version) - Unit times times s s s s s ms s s s V V C year
READY)
td(CMDRST- Time from when command is forcibly terminated until reading is enabled - - - Program, erase voltage Read voltage Program, erase temperature Data hold time (7)
-
Notes: 1. VCC = 2.7 to 5.5 V at Topr = -40 to 85C (J version) / -40 to 125C (K version) (under consideration), unless otherwise specified. 2. Definition of programming/erasure endurance The programming and erasure endurance is defined on a per-block basis. If the programming and erasure endurance is n (n = 100, 1,000), each block can be erased n times. For example, if 1,024 1byte writes are performed to different addresses in block A, a 1 Kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. However, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. Endurance to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. In a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. For example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. It is also advisable to retain data on the erasure endurance of each block and limit the number of erase operations to a certain number. 5. If an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied. 8. This data hold time includes 3,000 hours in Ta = 125C and 7,000 hours in Ta = 85C.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 48 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.6
Symbol - - - - - td(SR-SUS) - -
Flash Memory (Data flash Block A to Block D) Electrical Characteristics
Parameter Program/erase endurance (2) Byte program time (program/erase endurance 1,000 times) Byte program time (program/erase endurance > 1,000 times) Block erase time (program/erase endurance 1,000 times) Block erase time (program/erase endurance > 1,000 times) Time delay from suspend request until suspend Interval from erase start/restart until following suspend request Time from suspend until erase restart Conditions Standard Min. 10,000 (3) - - - - - 0 - - 2.7 2.7 -40 Ambient temperature = 55 C (8) 20 Typ. - 160 300 0.2 0.3 - - - - - - - - Max. - 950 950 1 1 3+CPU clock x 3 cycles - 30+CPU clock x 1 cycle 30+CPU clock x 1 cycle 5.5 5.5 85 (J version) 125 (K version) - Unit times s s s s ms s s s V V C year
READY)
td(CMDRST- Time from when command is forcibly terminated until reading is enabled - - - Program, erase voltage Read voltage Program, erase temperature Data hold time (7)
-
Notes: 1. VCC = 2.7 to 5.5 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), unless otherwise specified. 2. Definition of programming/erasure endurance The programming and erasure endurance is defined on a per-block basis. If the programming and erasure endurance is n (n = 100, 1,000, 10,000), each block can be erased n times. For example, if 1,024 1-byte writes are performed to different addresses in block A, a 1 Kbyte block, and then the block is erased, the programming/erasure endurance still stands at one. However, the same address must not be programmed more than once per erase operation (overwriting prohibited). 3. Endurance to guarantee all electrical characteristics after program and erase. (1 to Min. value can be guaranteed). 4. In a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. For example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 128 groups before erasing them all in one operation. In addition, averaging the erasure endurance between blocks A to D can further reduce the actual erasure endurance. It is also advisable to retain data on the erasure endurance of each block and limit the number of erase operations to a certain number. 5. If an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 6. Customers desiring program/erase failure rate information should contact their Renesas technical support representative. 7. The data hold time includes time that the power supply is off or the clock is not supplied. 8. This data hold time includes 3,000 hours in Ta = 125C and 7,000 hours in Ta = 85C.
Suspend request (FMR21 bit)
FST7 bit FST6 bit
Fixed time Clock-dependent time Access restart
td(SR-SUS)
FST6, FST7: Bit in FST register FMR21: Bit in FMR2 register
Figure 5.2
Time delay until Suspend
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 49 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.7
Symbol Vdet0 - - td(E-A)
Voltage Detection 0 Circuit Electrical Characteristics
Parameter Voltage detection level Voltage detection 0 circuit response time (3) Voltage detection circuit self power consumption Wait time until voltage detection circuit operation starts
(2)
Condition At the falling of VCC At the falling of Vcc from 5 V to (Vdet0 - 0.1) V VCA25 = 1, VCC = 5.0 V
Standard Min. 2.70 - - - Typ. 2.85 6 1.5 - Max. 3.00 150 - 100
Unit V s A s
Notes: 1. The measurement condition is VCC = 2.7 V to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VCA25 bit in the VCA2 register to 0. 3. Time until the voltage monitor 0 reset is generated after the voltage passes Vdet0.
Table 5.8
Symbol Vdet1
Voltage Detection 1 Circuit Electrical Characteristics
Parameter Voltage detection level Vdet1_7 (2) Voltage detection level Vdet1_8
(2)
Condition At the falling of VCC At the falling of VCC At the falling of VCC At the falling of VCC At the falling of VCC At the falling of VCC At the falling of VCC At the falling of VCC
Standard Min. 3.05 3.20 3.35 3.50 3.65 3.80 3.95 4.10 - Typ. 3.25 3.40 3.55 3.70 3.85 4.00 4.15 4.30 0.1 60 1.7 - Max. 3.45 3.60 3.75 3.90 4.05 4.20 4.35 4.50 - 150 - 100
Unit V V V V V V V V V s A s
Voltage detection level Vdet1_9 (2) Voltage detection level Vdet1_A (2) Voltage detection level Vdet1_B Voltage detection level Vdet1_C
(2) (2)
Voltage detection level Vdet1_D (2) Voltage detection level Vdet1_E (2) - - - td(E-A) Notes: 1. 2. 3. 4. Hysteresis width at the rising of Vcc in voltage detection 1 circuit Voltage detection 1 circuit response time (3) Voltage detection circuit self power consumption Wait time until voltage detection circuit operation starts
(4)
At the falling of Vcc from 5 V to (Vdet1_7 - 0.1) V VCA26 = 1, VCC = 5.0 V
- - -
The measurement condition is VCC = 2.7 V to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). Select the voltage detection level with bits VD1S0 to VD1S3 in the VD1LS register. Time until the voltage monitor 1 interrupt request is generated after the voltage passes Vdet1. Necessary time until the voltage detection circuit operates when setting to 1 again after setting the VCA26 bit in the VCA2 register to 0.
Table 5.9
Symbol Vdet2 - - - td(E-A)
Voltage Detection 2 Circuit Electrical Characteristics
Parameter Voltage detection level Vdet2 Hysteresis width at the rising of Vcc in voltage detection 2 circuit Voltage detection 2 circuit response time (2) Voltage detection circuit self power consumption Wait time until voltage detection circuit operation starts
(3)
Condition At the falling of VCC
Standard Min. 3.80 - Typ. 4.00 0.1 20 1.7 - Max. 4.20 - 150 - 100
Unit V V s A s
At the falling of Vcc from 5 V to (Vdet2 - 0.1) V VCA26 = 1, VCC = 5.0 V
- - -
Notes: 1. The measurement condition is VCC = 2.7 V to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. Time until the voltage monitor 2 interrupt request is generated after the voltage passes Vdet2. 3. Necessary time until the voltage detection circuit operates after setting to 1 again after setting the VCA27 bit in the VCA2 register to 0.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 50 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.10
Symbol trth
Power-on Reset Circuit, Voltage Monitor 0 Reset Electrical Characteristics(2)
Parameter External power VCC rise gradient
(1)
Condition
Standard Min. 0 Typ. - Max. 50000
Unit mV/msec
Notes: 1. The measurement condition is VCC = 2.7 V to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. To use the power-on reset function, enable voltage monitor 0 reset by setting the LVDAS bit in the OFS register to 0.
Vdet0 (1) trth External Power VCC 0.5 V tw(por) (2) Voltage detection 0 circuit response time trth
Vdet0 (1)
Internal reset signal
1 x 32 fOCO-S
1 x 32 fOCO-S
Notes: 1. Vdet0 indicates the voltage detection level of the voltage detection 0 circuit. Refer to 6. Voltage Detection Circuit of User's Manual: Hardware (REJ09B0613) for details. 2. tw(por) indicates the duration the external power VCC must be held below the valid voltage (0.5 V) to enable a power-on reset. When turning on the power after it falls with voltage monitor 0 reset disabled, maintain tw(por) for 1 ms or more.
Figure 5.3
Power-on Reset Circuit Electrical Characteristics
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 51 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.11
Symbol -
High-speed On-Chip Oscillator Circuit Electrical Characteristics
Parameter Condition Standard Min. - - Typ. 40 36.864 Max. - - Unit MHz MHz
VCC = 2.7 to 5.5 V, -40C Topr 85C (J version) / High-speed on-chip oscillator frequency when -40C Topr 125C (K version) the FRA4 register correction value is written into the FRA1 register and the FRA5 register correction value into the FRA3 register (3) High-speed on-chip oscillator frequency after reset High-speed on-chip oscillator frequency when the FRA6 register correction value is written into the FRA1 register and the FRA7 register correction value into the FRA3 register High-speed on-chip oscillator frequency temperature * supply voltage dependence (2)
-
32
-
MHz
-5 - VCC = 5.0 V, Topr = 25C -
- 200 400
5 - -
% s A
- -
Oscillation stabilization time Self power consumption at oscillation
Notes: 1. The measurement condition is VCC = 2.7 to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. This indicates the precision error for the oscillation frequency of the high-speed on-chip oscillator. 3. This enables the setting errors of bit rates such as 9600 bps and 38400 bps to be 0% when the serial interface is used in UART mode.
Table 5.12
Symbol fOCO-S fOCO-WDT - -
Low-speed On-Chip Oscillator Circuit Electrical Characteristics
Parameter Low-speed on-chip oscillator frequency Low-speed on-chip oscillator frequency for watchdog timer Oscillation stabilization time Self power consumption at oscillation VCC = 5.0 V, Topr = 25C VCC = 5.0 V, Topr = 25C Condition Standard Min. 112.5 112.5 - - Typ. 125 125 30 3 Max. 137.5 137.5 100 - Unit kHz kHz s A
Note: 1. The measurement condition is VCC = 2.7 to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version).
Table 5.13
Symbol td(P-R)
Power Supply Circuit Timing Characteristics
Parameter Time for internal power supply stabilization during power-on (2) Condition Standard Min. - Typ. - Max. 2000 Unit s
Notes: 1. The measurement condition is VCC = 2.7 to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. Wait time until the internal power supply generation circuit stabilizes during power-on.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 52 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.14
Symbol tSUCYC tHI tLO tRISE tFALL tSU tH tLEAD tLAG tOD tSA tOR
Timing Requirements of SSU (1)
Parameter SSCK clock cycle time SSCK clock "H" width SSCK clock "L" width SSCK clock rising time SSCK clock falling time Master Slave Master Slave Conditions Standard Min. 4 0.4 0.4 - - - - 100 1 1tCYC + 50 1tCYC + 50 - 2.7 V VCC 5.5 V 2.7 V VCC 5.5 V - - Typ. - - - - - - - - - - - - - - Max. - 0.6 0.6 1 1 1 1 - - - - 1 1.5tCYC + 100 1.5tCYC + 100 Unit tCYC (2) tSUCYC tSUCYC tCYC (2) s tCYC (2) s ns tCYC (2) ns ns tCYC (2) ns ns
SSO, SSI data input setup time SSO, SSI data input hold time SCS setup time SCS hold time SSI slave access time SSI slave out open time Slave Slave
SSO, SSI data output delay time
Notes: 1. The measurement condition is VCC = 2.7 to 5.5 V and Topr = -40 to 85C (J version) / -40 to 125C (K version). 2. 1tCYC = 1/f1(s)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 53 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
4-Wire Bus Communication Mode, Master, CPHS = 1
VIH or VOH
SCS (output)
VIL or VOL tHI tFALL tRISE
SSCK (output) (CPOS = 1)
tLO tHI
SSCK (output) (CPOS = 0)
tLO tSUCYC
SSO (output)
tOD
SSI (input)
tSU tH
4-Wire Bus Communication Mode, Master, CPHS = 0
VIH or VOH
SCS (output)
VIL or VOL tHI tFALL tRISE
SSCK (output) (CPOS = 1)
tLO tHI
SSCK (output) (CPOS = 0)
tLO tSUCYC
SSO (output)
tOD
SSI (input)
tSU tH
CPHS, CPOS: Bits in SSMR register
Figure 5.4
I/O Timing of SSU (Master)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 54 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
4-Wire Bus Communication Mode, Slave, CPHS = 1
VIH or VOH
SCS (input)
VIL or VOL tLEAD tHI tFALL tRISE tLAG
SSCK (input) (CPOS = 1)
tLO tHI
SSCK (input) (CPOS = 0)
tLO tSUCYC
SSO (input)
tSU tH
SSI (output)
tSA tOD tOR
4-Wire Bus Communication Mode, Slave, CPHS = 0 SCS (input)
VIH or VOH VIL or VOL tLEAD tHI tFALL tRISE tLAG
SSCK (input) (CPOS = 1)
tLO tHI
SSCK (input) (CPOS = 0)
tLO tSUCYC
SSO (input)
tSU tH
SSI (output)
tSA tOD tOR
CPHS, CPOS: Bits in SSMR register
Figure 5.5
I/O Timing of SSU (Slave)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 55 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
tHI VIH or VOH
SSCK
VIL or VOL tLO tSUCYC
SSO (output)
tOD
SSI (input)
tSU tH
Figure 5.6
I/O Timing of SSU (Clock Synchronous Communication Mode)
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 56 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.15
Symbol VOH
Electrical Characteristics (1) [4.2 V VCC 5.5 V]
Parameter Condition IOH = -5 mA IOH = -200 A IOH = -200 A IOL = 5 mA IOL = 200 A IOH = -200 A Standard Min. Typ. VCC - 2.0 - VCC - 0.3 - 1.0 - - - - - - - 0.1 1.2 Max. VCC VCC VCC 2.0 0.45 0.5 - Unit V V V V V V V
Output "H" voltage
Other than XOUT XOUT Other than XOUT XOUT
VOL
Output "L" voltage
VT+-VT-
Hysteresis
INT0 to INT4, KI0 to KI3, TRAIO0, TRAIO1, TRBO, TRCIOA to TRCIOD, TRDIOA0 to TRDIOD0, TRDIOA1 to TRDIOD1, TRFI, TRGIOA, TRGIOB, TRCCLK, TRDCLK, TRGCLKA, TRGCLKB, TRCTRG, ADTRG, RXD0 to RXD2, CLK0 to CLK2, SSI, SCL2, SDA2, SSO RESET VI = 5 V VI = 0 V VI = 0 V XIN During stop mode
0.1
- - 25 -
1.2
- - 50 0.3 -
-
V
A A k M
IIH IIL RPULLUP RfXIN VRAM
Input "H" current Input "L" current Pull-up resistance Feedback resistance RAM hold voltage
1.0 -1.0 100 -
-
2.0
V
Note: 1. 4.2 V VCC 5.5 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), f(XIN) = 20 MHz, unless otherwise specified.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 57 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.16
Symbol ICC
Electrical Characteristics (2) [3.3 V Vcc 5.5 V] (Topr = -40 to 85C (J version), unless otherwise specified.)
Parameter Condition
XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz No division XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8, FMR27 = 1, VCA20 = 0 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock operation VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock off VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off, Topr = 25C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 XIN clock off, Topr = 85C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0
Power supply High-speed current clock mode (1) (VCC = 3.3 to 5.5 V) Single-chip mode, output pins are open, other pins are VSS
Min. -
- - - - - - - -
Standard Typ. Max. 7.0 15
Unit mA
5.6
12.5
- - - -
mA
3.6
mA
3.0
mA
2.2
mA
1.5
mA
High-speed on-chip oscillator mode
(1)
7.0
15
-
mA
3.0
mA
A
Low-speed on-chip oscillator mode Wait mode
90
180
-
15
110
A
-
5
100
A
Stop mode
-
2.0
5.0
A
-
15.0
-
A
Note: 1. The typical value (Typ.) indicates the current value when the CPU and the memory operate. The maximum value (Max.) indicates the current when the CPU, the memory, and the peripheral functions operate and the flash memory is programmed/erased.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 58 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.17
Symbol ICC
Electrical Characteristics (3) [3.3 V Vcc 5.5 V] (Topr = -40 to 125C (K version), unless otherwise specified.)
Parameter Condition
XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz No division XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8, FMR27 = 1, VCA20 = 0 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock operation VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock off VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off, Topr = 25C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 XIN clock off, Topr = 125C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0
Power supply High-speed current clock mode (1) (VCC = 3.3 to 5.5 V) Single-chip mode, output pins are open, other pins are VSS
Min. -
- - - - - - - -
Standard Typ. Max. 7.0 15
Unit mA
5.6
12.5
- - - -
mA
3.6
mA
3.0
mA
2.2
mA
1.5
mA
High-speed on-chip oscillator mode
(1)
7.0
15
-
mA
3.0
mA
A
Low-speed on-chip oscillator mode Wait mode
90
400
-
15
330
A
-
5
320
A
Stop mode
-
2.0
5.0
A
-
60.0
-
A
Note: 1. The typical value (Typ.) indicates the current value when the CPU and the memory operate. The maximum value (Max.) indicates the current when the CPU, the memory, and the peripheral functions operate and the flash memory is programmed/erased.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 59 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Timing Requirements (Unless Otherwise Specified: VCC = 5 V, VSS = 0 V at Topr = -40C to 85C (J ver)/-40C to 125C (K ver)) Table 5.18
Symbol tc(XOUT) tWH(XOUT) tWL(XOUT) XOUT input cycle time XOUT input "H" width XOUT input "L" width
External clock input (XOUT)
Parameter Standard Min. Max. 50 - 24 - 24 - Unit ns ns ns
tC(XOUT) tWH(XOUT)
VCC = 5 V
XIN input
tWL(XOUT)
Figure 5.7 Table 5.19
Symbol tc(TRAIO) tWH(TRAIO) tWL(TRAIO)
External Clock Input Timing Diagram when VCC = 5 V TRAIOi (i = 0 to 1) Input
Parameter TRAIOi (i = 0 to 1) input cycle time TRAIOi (i = 0 to 1) input "H" width TRAIOi (i = 0 to 1) input "L" width Standard Min. Max. 100 - 40 - 40 - Unit ns ns ns
tC(TRAIO) tWH(TRAIO)
VCC = 5 V
TRAIOi (i = 0 to 1) input
tWL(TRAIO)
Figure 5.8 Table 5.20
Symbol tc(TRFI) tWH(TRFI) tWL(TRFI)
TRAIOi (i = 0 to 1) Input Timing Diagram when VCC = 5 V TRFI Input
Parameter TRFI input cycle time TRFI input "H" width TRFI input "L" width Standard Min. Max. - 1200 (1) 600 (2) 600
(2)
Unit ns ns ns
- -
Notes: 1. When using timer RF input capture mode, adjust the cycle time to (1/timer RF count source frequency x 3) or above. 2. When using timer RF input capture mode, adjust the pulse width to (1/timer RF count source frequency x 1.5) or above.
tC(TRFI) tWH(TRFI)
VCC = 3 V
TRFI input
tWL(TRFI)
Figure 5.9
TRFI Input Timing Diagram when VCC = 3 V
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 60 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.21
Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) i = 0 to 2
Serial Interface
Parameter CLKi input cycle time CLKi input "H" width CLKi input "L" width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time Standard Min. 200 100 100
-
Max.
- - -
Unit ns ns ns ns ns ns ns
90
- - -
0 50 90
tC(CK) tW(CKH)
VCC = 5 V
CLKi
tW(CKL) th(C-Q)
TXDi
td(C-Q) tsu(D-C) th(C-D)
RXDi i = 0 to 2
Figure 5.10
Serial Interface Timing Diagram when VCC = 5 V
Table 5.22
Symbol tW(INH) tW(INL)
External Interrupt INTi (i = 0 to 4) Input, Key Input Interrupt KIi (i = 0 to 3)
Parameter INTi input "H" width, KIi input "H" width INTi input "L" width, KIi input "L" width Standard Min. 250 (1) 250 (2) Max.
- -
Unit ns ns
Notes: 1. When selecting the digital filter by the INTi input filter select bit, use an INTi input HIGH width of either (1/digital filter clock frequency x 3) or the minimum value of standard, whichever is greater. 2. When selecting the digital filter by the INTi input filter select bit, use an INTi input LOW width of either (1/digital filter clock frequency x 3) or the minimum value of standard, whichever is greater.
VCC = 5 V
INTi input (i = 0 to 4) KIi input (i = 0 to 3)
tW(INL)
tW(INH)
Figure 5.11
Input Timing for External Interrupt INTi and Key Input Interrupt KIi when Vcc = 5 V
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 61 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.23
Symbol VOH VOL VT+-VT-
Electrical Characteristics (4) [2.7 V VCC 4.2 V]
Parameter Condition IOH = -1 mA IOH = -200 A IOL = 1 mA IOL = 200 A Standard Min. Typ. VCC - 0.5 - 1.0 - - - - - 0.1 0.4 Max. VCC VCC 0.5 0.5 - Unit V V V V V
Output "H" voltage Output "L" voltage Hysteresis
Other than XOUT XOUT Other than XOUT XOUT INT0 to INT4, KI0 to KI3, TRAIO0, TRAIO1, TRBO, TRCIOA to TRCIOD, TRDIOA0 to TRDIOD0, TRDIOA1 to TRDIOD1, TRFI, TRGIOA, TRGIOB, TRCCLK, TRDCLK, TRGCLKA, TRGCLKB, TRCTRG, ADTRG, RXD0 to RXD2, CLK0 to CLK2, SSI, SCL2, SDA2, SSO RESET
0.1 VI = 3 V VI = 0 V VI = 0 V
- - 42 -
0.5
- - 84 0.3 -
-
V
A A k M
IIH IIL RPULLUP RfXIN VRAM
Input "H" current Input "L" current Pull-up resistance Feedback resistance RAM hold voltage
XIN During stop mode
1.0 -1.0 168 -
-
2.0
V
Note: 1. 2.7 V VCC 4.2 V at Topr = -40 to 85C (J version) / -40 to 125C (K version), f(XIN) = 20 MHz, unless otherwise specified.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 62 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.24
Electrical Characteristics (5) [2.7 V Vcc 3.3 V] (Topr = -40 to 85C (J version), unless otherwise specified.)
Parameter Condition XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz No division XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8, FMR27 = 1, VCA20 = 0 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock operation VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock off VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off, Topr = 25C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 XIN clock off, Topr = 85C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 Min. - Standard Typ. Max. 7.0 14.5 Unit mA
Symbol ICC
Power supply current High-speed (VCC = 2.7 to 3.3 V) clock mode (1) Single-chip mode, output pins are open, other pins are VSS
-
5.6
12.0
mA
-
3.6
-
mA
-
3.0
-
mA
-
2.2
-
mA
-
1.5
-
mA
High-speed on-chip oscillator mode (1)
-
7.0
14.5
mA
-
3.0
-
mA
Low-speed on-chip oscillator mode Wait mode
-
85
180
A
-
15
110
A
-
5
100
A
Stop mode
-
2.0
5.0
A
-
13.0
-
A
Note: 1. The typical value (Typ.) indicates the current value when the CPU and the memory operate. The maximum value (Max.) indicates the current when the CPU, the memory, and the peripheral functions operate and the flash memory is programmed/erased.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 63 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.25
Electrical Characteristics (6) [2.7 V Vcc 3.3 V] (Topr = -40 to 125C (K version), unless otherwise specified.)
Parameter Condition XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz No division XIN = 20 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 16 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN = 10 MHz (square wave) High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz No division XIN clock off High-speed on-chip oscillator on fOCO-F = 20 MHz Low-speed on-chip oscillator on = 125 kHz Divide-by-8 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz Divide-by-8, FMR27 = 1, VCA20 = 0 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock operation VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off High-speed on-chip oscillator off Low-speed on-chip oscillator on = 125 kHz While a WAIT instruction is executed Peripheral clock off VCA27 = VCA26 = VCA25 = 0 VCA20 = 1 XIN clock off, Topr = 25C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 XIN clock off, Topr = 125C High-speed on-chip oscillator off Low-speed on-chip oscillator off CM10 = 1 Peripheral clock off VCA27 = VCA26 = VCA25 = 0 Min. - Standard Typ. Max. 7.0 14.5 Unit mA
Symbol ICC
Power supply current High-speed (VCC = 2.7 to 3.3 V) clock mode (1) Single-chip mode, output pins are open, other pins are VSS
-
5.6
12.0
mA
-
3.6
-
mA
-
3.0
-
mA
-
2.2
-
mA
-
1.5
-
mA
High-speed on-chip oscillator mode (1)
-
7.0
14.5
mA
-
3.0
-
mA
Low-speed on-chip oscillator mode Wait mode
-
85
390
A
-
15
320
A
-
5
310
A
Stop mode
-
2.0
5.0
A
-
55.0
-
A
Note: 1. The typical value (Typ.) indicates the current value when the CPU and the memory operate. The maximum value (Max.) indicates the current when the CPU, the memory, and the peripheral functions operate and the flash memory is programmed/erased.
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 64 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Timing requirements (Unless Otherwise Specified: VCC = 3 V, VSS = 0 V at Topr = -40C to 85C (J ver)/-40C to 125C (K ver)) Table 5.26
Symbol tc(XOUT) tWH(XOUT) tWL(XOUT) XOUT input cycle time XOUT input "H" width XOUT input "L" width
External clock input (XOUT)
Parameter Standard Min. Max. 50 - 24 - 24 - Unit ns ns ns
tC(XOUT) tWH(XOUT)
VCC = 3 V
XIN input
tWL(XOUT)
Figure 5.12 Table 5.27
Symbol tc(TRAIO) tWH(TRAIO) tWL(TRAIO)
External Clock Input Timing Diagram when VCC = 3 V TRAIOi (i = 0 to 1) Input
Parameter TRAIOi (i = 0 to 1) input cycle time TRAIOi (i = 0 to 1) input "H" width TRAIOi (i = 0 to 1) input "L" width Standard Min. Max. 300 - 120 - 120 - Unit ns ns ns
tC(TRAIO) tWH(TRAIO)
VCC = 3 V
TRAIOi (i = 0 to 1) input
tWL(TRAIO)
Figure 5.13 Table 5.28
Symbol tc(TRFI) tWH(TRFI) tWL(TRFI)
TRAIOi (i = 0 to 1) Input Timing Diagram when VCC = 3 V TRFI Input
Parameter TRFI input cycle time TRFI input "H" width TRFI input "L" width Standard Min. Max. - 400 (1) 200 (2) 200
(2)
Unit ns ns ns
- -
Notes: 1. When using timer RF input capture mode, adjust the cycle time to (1/timer RF count source frequency x 3) or above. 2. When using timer RF input capture mode, adjust the pulse width to (1/timer RF count source frequency x 1.5) or above.
tC(TRFI) tWH(TRFI)
VCC = 5 V
TRFI input
tWL(TRFI)
Figure 5.14
TRFI Input Timing Diagram when VCC = 5 V
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 65 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. 5. Electrical Characteristics
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Table 5.29
Symbol tc(CK) tW(CKH) tW(CKL) td(C-Q) th(C-Q) tsu(D-C) th(C-D) i = 0 to 2
Serial Interface
Parameter CLKi input cycle time CLKi input "H" width CLKi Input "L" width TXDi output delay time TXDi hold time RXDi input setup time RXDi input hold time Standard Min. 300 150 150
-
Max.
- - -
Unit ns ns ns ns ns ns ns
140
- - -
0 70 90
tC(CK) tW(CKH)
VCC = 3 V
CLKi
tW(CKL) th(C-Q)
TXDi
td(C-Q) tsu(D-C) th(C-D)
RXDi i = 0 to 2
Figure 5.15
Serial Interface Timing Diagram when VCC = 3 V
Table 5.30
Symbol tW(INH) tW(INL)
External Interrupt INTi (i = 0 to 4) Input, Key Input Interrupt KIi (i = 0 to 3)
Parameter INTi input "H" width, KIi input "H" width INTi input "L" width, KIi input "L" width Standard Min. 380 (1) 380 (2) Max.
- -
Unit ns ns
Notes: 1. When selecting the digital filter by the INTi input filter select bit, use an INTi input HIGH width of either (1/digital filter clock frequency x 3) or the minimum value of standard, whichever is greater. 2. When selecting the digital filter by the INTi input filter select bit, use an INTi input LOW width of either (1/digital filter clock frequency x 3) or the minimum value of standard, whichever is greater.
INTi input (i = 0 to 4) KIi input (i = 0 to 3)
VCC = 3 V
tW(INL)
tW(INH)
Figure 5.16
Input Timing for External Interrupt INTi and Key Input Interrupt KIi when Vcc = 3 V
REJ03B0317-0010 Rev.0.10 May 31, 2010
Page 66 of 67
Under development
Preliminary document Specifications in this document are tentative and subject to change. Package Dimensions
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group
Package Dimensions
Diagrams showing the latest package dimensions and mounting information are available in the "Packages" section of the Renesas Electronics website.
JEITA Package Code P-LQFP80-12x12-0.50 RENESAS Code PLQP0080KB-A Previous Code 80P6Q-A MASS[Typ.] 0.5g
HD *1 D
60
41 NOTE) 1. DIMENSIONS "*1" AND "*2" DO NOT INCLUDE MOLD FLASH. 2. DIMENSION "*3" DOES NOT INCLUDE TRIM OFFSET.
61
40 bp b1
c1 *2 HE E
c
Reference Dimension in Millimeters Symbol
Terminal cross section
80
21
1 ZD Index mark
20
F
S
A2 A
c
D E A2 HD HE A A1 bp b1 c c1 e x y ZD ZE L L1
yS e
bp
A1
*3
x L1
L
Detail F
Min Nom Max 11.9 12.0 12.1 11.9 12.0 12.1 1.4 13.8 14.0 14.2 13.8 14.0 14.2 1.7 0.1 0.2 0 0.15 0.20 0.25 0.18 0.09 0.145 0.20 0.125 0 10 0.5 0.08 0.08 1.25 1.25 0.3 0.5 0.7 1.0
REJ03B0317-0010 Rev.0.10 May 31, 2010
ZE
Page 67 of 67
REVISION HISTORY
R8C/38W Group, R8C/38X Group, R8C/38Y Group, R8C/38Z Group Datasheet
Rev. 0.10
Date May 31, 2010
Page --
Description Summary First Edition issued
All trademarks and registered trademarks are the property of their respective owners. C-1
General Precautions in the Handling of MPU/MCU Products
The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes on the products covered by this manual, refer to the relevant sections of the manual. If the descriptions under General Precautions in the Handling of MPU/MCU Products and in the body of the manual differ from each other, the description in the body of the manual takes precedence. 1. Handling of Unused Pins Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual. The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual. 2. Processing at Power-on The state of the product is undefined at the moment when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. The reserved addresses are provided for the possible future expansion of functions. Do not access these addresses; the correct operation of LSI is not guaranteed if they are accessed. 4. Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable. When switching the clock signal during program execution, wait until the target clock signal has stabilized. When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. Differences between Products Before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. The characteristics of MPU/MCU in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. When changing to products of different part numbers, implement a system-evaluation test for each of the products.
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website. 2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 3. 4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 5. When exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 7. Renesas Electronics products are classified according to the following three quality grades: "Standard", "High Quality", and "Specific". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as "Specific" without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as "Specific" or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is "Standard" unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; safety equipment; and medical equipment not specifically designed for life support. "Specific": Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. 8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) (Note 2) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries. "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
SALES OFFICES
Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-585-100, Fax: +44-1628-585-900 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Dusseldorf, Germany Tel: +49-211-65030, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. 7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898 Renesas Electronics Hong Kong Limited Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2886-9318, Fax: +852 2886-9022/9044 Renesas Electronics Taiwan Co., Ltd. 7F, No. 363 Fu Shing North Road Taipei, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632 Tel: +65-6213-0200, Fax: +65-6278-8001 Renesas Electronics Malaysia Sdn.Bhd. Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141
http://www.renesas.com
(c) 2010 Renesas Electronics Corporation. All rights reserved. Colophon 1.0


▲Up To Search▲   

 
Price & Availability of R5F21388WJFP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X